Feed aggregator

Howto Find Out or Learn Harddisk Size in Linux or UNIX

nixCraft - Sat, 05/18/2024 - 05:35
{Updated} There are many ways to show btrfs, zfs, and ext4/3 disk info in Linux and Unix. Here are a few of the most common commands for developers and sysadmins to find out their hard disk size using the CLI.The post Howto Find Out or Learn Harddisk Size in Linux or UNIX appeared first on nixCraft. 2023-07-29T02:20:00Z 2023-07-29T02:20:00Z Vivek Gite

How to run script after mounting NFS with systemd in Linux

nixCraft - Sat, 05/18/2024 - 05:35
If you need to execute a shell script or command following the mounting of a particular file system in Linux using systemd, you can do so. For instance, you can run a backup task when a USB hard disk is mounted or adjust specific options at runtime when NFS is mounted. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to run script after mounting NFS with systemd in Linux appeared first on nixCraft. 2023-07-27T17:56:59Z 2023-07-27T17:56:59Z Vivek Gite

How to Mount NFS File System in Ubuntu Linux

nixCraft - Sat, 05/18/2024 - 05:35
{Updated} NFS (Network File System) client allows you to access the shared directory from the Linux client. The computer sharing the directory is called the NFS server (it can be a NAS server, too), and the computers or devices connecting to that server are called clients. The clients need to use the mount command to access the shared directory.The post How to Mount NFS File System in Ubuntu Linux appeared first on nixCraft. 2023-07-27T11:36:00Z 2023-07-27T11:36:00Z Vivek Gite

How Do I install .deb Packages in Ubuntu Linux Using the CLI or GUI?

nixCraft - Sat, 05/18/2024 - 05:35
{Updated} You need to use the dpkg command or apt-get command/apt command, which is a package manager from shell/command prompt under a Debian and Ubuntu Linux. You can use this tool to install, build, remove and manage packages. The dpkg itself is controlled entirely via command line parameters. Let us see how to install .deb package file in Ubuntu Linux using the CLI.The post How Do I install .deb Packages in Ubuntu Linux Using the CLI or GUI? appeared first on nixCraft. 2023-07-27T11:31:00Z 2023-07-27T11:31:00Z Vivek Gite

How to check for Wayland or Xorg (X11) Linux desktop

nixCraft - Sat, 05/18/2024 - 05:35
Am I using X11 (Xorg) or Wayland? Here is how to check for Wayland or Xorg (X11) Linux desktops using the CLI and GUI options. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to check for Wayland or Xorg (X11) Linux desktop appeared first on nixCraft. 2023-07-25T02:29:20Z 2023-07-25T02:29:20Z Vivek Gite

How to check for ssh connectivity in a shell script

nixCraft - Sat, 05/18/2024 - 05:35
Let us see how to check for ssh connectivity in a shell script running under macOS, FreeBSD, or Linux/Unix desktop using BatchMode=yes and ConnectTimeout=$VALUE options. This simple trick helps write a wrapper script that does other things, such as making a backup or running external command agents such as Salt or Ansible to do other tasks. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to check for ssh connectivity in a shell script appeared first on nixCraft. 2023-07-23T15:43:02Z 2023-07-23T15:43:02Z Vivek Gite

Debian Linux 12.1 released with Security Updates

nixCraft - Sat, 05/18/2024 - 05:35
Debian Linux project announces the first update of the Debian project's stable distribution, Debian 12 (codename "bookworm") named Debian 12.1. This update mainly addresses security issues and significant problems. Security advisories have been published and are now available to download. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Debian Linux 12.1 released with Security Updates appeared first on nixCraft. 2023-07-23T09:30:01Z 2023-07-23T09:30:01Z Vivek Gite

Setting up VSCode for Ansible Lightspeed AI in Ubuntu 22.04 desktop

nixCraft - Sat, 05/18/2024 - 05:35
Red Hat launched the Ansible Lightspeed Code Assistant Generative AI with IBM Watson Code Assistant in May 2023. This preview is now available to all Ansible users, allowing them to explore the technology, provide feedback to Red Hat, and further train the AI model. In this brief blog post, I will share my personal experience with installing and utilizing Ansible Lightspeed AI to create playbooks in VSCode using Ubuntu Linux 20.04 LTS desktop. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Setting up VSCode for Ansible Lightspeed AI in Ubuntu 22.04 desktop appeared first on nixCraft. 2023-07-22T14:01:07Z 2023-07-22T14:01:07Z Vivek Gite

How To Set Up a Firewall with UFW on Debian 12

nixCraft - Sat, 05/18/2024 - 05:35
If you're using Debian 12, you can easily manage your firewall with the help of Uncomplicated Firewall (UFW). UFW interface simplifies firewall management and handles the complexities of packet filtering technologies like iptables and nftables. It's a great option for beginners who want to set up a firewall. In this tutorial, we'll guide you through installing UFW in Debian Linux 12, configuring it to allow SSH, HTTP, HTTPS, and other connections, and enabling it to block unauthorized traffic. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How To Set Up a Firewall with UFW on Debian 12 appeared first on nixCraft. 2023-07-19T16:18:55Z 2023-07-19T16:18:55Z Vivek Gite

How to open a TCP port 43 for whois command using iptables

nixCraft - Sat, 05/18/2024 - 05:35
{Updated} Do you need to open a TCP port 43 for outgoing whois command for communication using iptables command/ufw command/Firewalld? Fear not. You can add a rule to allow incoming or outgoing traffic on that specific port. Here's an example of how to do it.The post How to open a TCP port 43 for whois command using iptables appeared first on nixCraft. 2023-07-18T04:15:00Z 2023-07-18T04:15:00Z Vivek Gite

How to kill process or user by tty name in Linux

nixCraft - Sat, 05/18/2024 - 05:35
Sometimes we must kill a process or user account by tty name in Linux. It would be best if you used w command or who command to print users accessing tty and then run the pkill command against processes whose controlling terminal is listed by the -t option. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to kill process or user by tty name in Linux appeared first on nixCraft. 2023-07-14T05:37:35Z 2023-07-14T05:37:35Z Vivek Gite

How to install ZFS in Debian 12 “Bookworm”

nixCraft - Sat, 05/18/2024 - 05:35
Here is a quick tutorial on installing ZFS support in Debian Linux 12 "Bookworm" using "apt" or "apt-get" command-line option. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install ZFS in Debian 12 “Bookworm” appeared first on nixCraft. 2023-07-01T22:16:19Z 2023-07-01T22:16:19Z Vivek Gite

How to view the open file limit for a Linux process

nixCraft - Sat, 05/18/2024 - 05:35
Do you need to view the open file limit for a Linux process? Try "limits" files in /proc/${PID} directory with its process ID (PID) or ulimit command or prlimit command to see the open file limit for a Linux process. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to view the open file limit for a Linux process appeared first on nixCraft. 2023-06-26T23:14:26Z 2023-06-26T23:14:26Z Vivek Gite

How to restart network service in Alpine Linux

nixCraft - Sat, 05/18/2024 - 05:35
You need to restart the network service in Alpine Linux using "/etc/init.d/networking restart" command to activate the network configuration defined in the /etc/network/interfaces config file. Do not run this command over an ssh-based session. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to restart network service in Alpine Linux appeared first on nixCraft. 2023-06-25T13:34:27Z 2023-06-25T13:34:27Z Vivek Gite

Alpine Linux fatal error: ncurses.h: No such file or directory fix

nixCraft - Sat, 05/18/2024 - 05:35
When I try to compile a program on Alpine Linux, it fails with the following error: app.c:1:10: fatal error: ncurses.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Alpine Linux fatal error: ncurses.h: No such file or directory fix appeared first on nixCraft. 2023-06-19T21:39:41Z 2023-06-19T21:39:41Z Vivek Gite

The Delta Emulator Is Changing Its Logo After Adobe Threatened It

Slashdot.org - Sat, 05/18/2024 - 02:00
After Adobe threatened legal action, the Delta Emulator said it'll abandon its current logo for a different, yet-to-be-revealed mark. The issue centers around Delta's stylized letter "D", which the digital media giant says is too similar to its stylized letter "A". The Verge reports: On May 7th, Adobe's lawyers reached out to Delta with a firm but kindly written request to go find a different icon, an email that didn't contain an explicit threat or even use the word infringement -- it merely suggested that Delta might "not wish to confuse consumers or otherwise violate Adobe's rights or the law." But Adobe didn't wait for a reply. On May 8th, one day later, Testut got another email from Apple that suggested his app might be at risk because Adobe had reached out to allege Delta was infringing its intellectual property rights. "We responded to both Apple and Adobe explaining our icon was a stylized Greek letter delta -- not an A -- but that we would update the Delta logo anyway to avoid confusion," Testut tells us. The icon you're seeing on the App Store now is just a temporary one, he says, as the team is still working on a new logo. "Both the App Store and AltStore versions have been updated with this temporary icon, but the plan is to update them to the final updated logo with Delta 1.6 once it's finished."

Read more of this story at Slashdot.

Proteins In Blood Could Provide Early Cancer Warning 'By More Than Seven Years'

Slashdot.org - Fri, 05/17/2024 - 22:30
An anonymous reader quotes a report from The Guardian: Proteins in the blood could warn people of cancer more than seven years before it is diagnosed, according to research [published in the journal Nature Communications]. Scientists at the University of Oxford studied blood samples from more than 44,000 people in the UK Biobank, including over 4,900 people who subsequently had a cancer diagnosis. They compared the proteins of people who did and did not go on to be diagnosed with cancer and identified 618 proteins linked to 19 types of cancer, including colon, lung, non-Hodgkin lymphoma and liver. The study, funded by Cancer Research UK and published in Nature Communications, also found 107 proteins associated with cancers diagnosed more than seven years after the patient's blood sample was collected and 182 proteins that were strongly associated with a cancer diagnosis within three years. The authors concluded that some of these proteins could be used to detect cancer much earlier and potentially provide new treatment options, though further research was needed.

Read more of this story at Slashdot.

Utah Locals Are Getting Cheap 10 Gbps Fiber Thanks To Local Governments

Slashdot.org - Fri, 05/17/2024 - 20:25
Karl Bode writes via Techdirt: Tired of being underserved and overbilled by shitty regional broadband monopolies, back in 2002 a coalition of local Utah governments formed UTOPIA -- (the Utah Telecommunication Open Infrastructure Agency). The inter-local agency collaborative venture then set about building an "open access" fiber network that allows any ISP to then come and compete on the shared network. Two decades later and the coalition just announced that 18 different ISPs now compete for Utah resident attention over a network that now covers 21 different Utah cities. In many instances, ISPs on the network are offering symmetrical (uncapped) gigabit fiber for as little as $45 a month (plus $30 network connection fee, so $75). Some ISPs are even offering symmetrical 10 Gbps fiber for around $150 a month: "Sumo Fiber, a veteran member of the UTOPIA Open Access Marketplace, is now offering 10 Gbps symmetrical for $119, plus a $30 UTOPIA Fiber infrastructure fee, bringing the total cost to $149 per month." It's a collaborative hybrid that blurs the line between private companies and government, and it works. And the prices being offered here are significantly less than locals often pay in highly developed tech-centric urban hubs like New York, San Francisco, or Seattle. Yet giant local ISPs like Comcast and Qwest spent decades trying to either sue this network into oblivion, or using their proxy policy orgs (like the "Utah Taxpayer Association") to falsely claim this effort would end in chaos and inevitable taxpayer tears. Yet miraculously UTOPIA is profitable, and for the last 15 years, every UTOPIA project has been paid for completely through subscriber revenues. [...] For years, real world experience and several different studies and reports (including our Copia study on this concept) have made it clear that open access networks and policies result in faster, better, more affordable broadband access. UTOPIA is proving it at scale, but numerous other municipalities have been following suit with the help of COVID relief and infrastructure bill funding.

Read more of this story at Slashdot.

WD Rolls Out New 2.5-Inch HDDs For the First Time In 7 Years

Slashdot.org - Fri, 05/17/2024 - 18:20
Western Digital has unveiled new 6TB external hard drives -- "the first new capacity point for this hard drive drive form factor in about seven years," reports Tom's Hardware. "There is a catch, though: the HDD is slow and will unlikely fit into any mobile PCs, so it looks like it will exclusively serve portable and specialized storage products." From the report: Western Digital's 6TB 2.5-inch HDD is currently used for the latest versions of the company's My Passport, Black P10, and G-Drive ArmorATD external storage devices and is not available separately. All of these drives (excluding the already very thick G-Drive ArmorATD) are thicker than their 5 TB predecessors, which may suggest that in a bid to increase the HDD's capacity, the manufacturer simply installed another platter and made the whole drive thicker instead of developing new platters with a higher areal density. While this is a legitimate way to expand the capacity of a hard drive, it is necessary to note that 5TB 2.5-inch HDDs already feature a 15-mm z-height, which is the highest standard z-height for 2.5-inch form-factor storage devices. As a result, these 6TB 2.5-inch drives will unlikely fit into any desktop PC. When it comes to specifications of the latest My Passport, Black P10, and G-Drive ArmorATD external HDDs, Western Digital only discloses that they offer up to 130 MB/s read speed (just like their predecessors), feature a USB 3.2 Gen 1 (up to 5 GT/s) interface using either a modern USB Type-C or Micro USB Type-B connector and do not require an external power adapter.

Read more of this story at Slashdot.

Palantir's First-Ever AI Warfare Conference

Slashdot.org - Fri, 05/17/2024 - 17:40
An anonymous reader quotes a report from The Guardian, written by Caroline Haskins: On May 7th and 8th in Washington, D.C., the city's biggest convention hall welcomed America's military-industrial complex, its top technology companies and its most outspoken justifiers of war crimes. Of course, that's not how they would describe it. It was the inaugural "AI Expo for National Competitiveness," hosted by the Special Competitive Studies Project -- better known as the "techno-economic" thinktank created by the former Google CEO and current billionaire Eric Schmidt. The conference's lead sponsor was Palantir, a software company co-founded by Peter Thiel that's best known for inspiring 2019 protests against its work with Immigration and Customs Enforcement (Ice) at the height of Trump's family separation policy. Currently, Palantir is supplying some of its AI products to the Israel Defense Forces. The conference hall was also filled with booths representing the U.S. military and dozens of its contractors, ranging from Booz Allen Hamilton to a random company that was described to me as Uber for airplane software. At industry conferences like these, powerful people tend to be more unfiltered – they assume they're in a safe space, among friends and peers. I was curious, what would they say about the AI-powered violence in Gaza, or what they think is the future of war? Attendees were told the conference highlight would be a series of panels in a large room toward the back of the hall. In reality, that room hosted just one of note. Featuring Schmidt and the Palantir CEO, Alex Karp, the fire-breathing panel would set the tone for the rest of the conference. More specifically, it divided attendees into two groups: those who see war as a matter of money and strategy, and those who see it as a matter of death. The vast majority of people there fell into group one. I've written about relationships between tech companies and the military before, so I shouldn't have been surprised by anything I saw or heard at this conference. But when it ended, and I departed DC for home, it felt like my life force had been completely sucked out of my body. Some of the noteworthy quotes from the panel and convention, as highlighted in Haskins' reporting, include: "It's always great when the CIA helps you out," Schmidt joked when CIA deputy director David Cohen lent him his microphone when his didn't work. The U.S. has to "scare our adversaries to death" in war, said Karp. On university graduates protesting Israel's war in Gaza, Karp described their views as a "pagan religion infecting our universities" and "an infection inside of our society." "The peace activists are war activists," Karp insisted. "We are the peace activists." A huge aspect of war in a democracy, Karp went on to argue, is leaders successfully selling that war domestically. "If we lose the intellectual debate, you will not be able to deploy any armies in the west ever," Karp said. A man in nuclear weapons research jokingly referred to himself as "the new Oppenheimer."

Read more of this story at Slashdot.

Syndicate content
Comment