Feed aggregator

How to run script after mounting NFS with systemd in Linux

nixCraft - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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 - Thu, 05/16/2024 - 15: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

How to upgrade Debian 11 to Debian 12 bookworm using CLI

nixCraft - Thu, 05/16/2024 - 15:35
Debian Linux 12 "Bookworm" has been released. As of 23/July/2023, Debian 12.1 point was released too. The new version offers updated packages and five years of support. This page provides a step-by-step guide to updating Debian 11 Bullseye to Debian 12 Bookworm using command-line options, including upgrading all installed packages. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to upgrade Debian 11 to Debian 12 bookworm using CLI appeared first on nixCraft. 2023-06-10T14:47:16Z 2023-06-10T14:47:16Z Vivek Gite

How to upgrade OpenSUSE 15.4 to 15.5 using the CLI

nixCraft - Thu, 05/16/2024 - 15:35
The latest version of OpenSUSE Linux, version 15.5 "Leap," has been released. This version offers unparalleled stability due to its use of the SUSE Linux Enterprise (SLE) source and community developments. Hence, this makes it the best choice for a stable Linux experience for users, developers, and system administrators. This page explains how to upgrade from OpenSUSE 15.4 to 15.5 using the CLI. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to upgrade OpenSUSE 15.4 to 15.5 using the CLI appeared first on nixCraft. 2023-06-08T20:36:00Z 2023-06-08T20:36:00Z Vivek Gite

EU Opens Child Safety Probes of Facebook and Instagram, Citing Addictive Design Concerns

Slashdot.org - Thu, 05/16/2024 - 15:06
An anonymous reader quotes a report from TechCrunch: Facebook and Instagram are under formal investigation in the European Union over child protection concerns, the Commission announced Thursday. The proceedings follow a raft of requests for information to parent entity Meta since the bloc's online governance regime, the Digital Services Act (DSA), started applying last August. The development could be significant as the formal proceedings unlock additional investigatory powers for EU enforcers, such as the ability to conduct office inspections or apply interim measures. Penalties for any confirmed breaches of the DSA could reach up to 6% of Meta's global annual turnover. Meta's two social networks are designated as very large online platforms (VLOPs) under the DSA. This means the company faces an extra set of rules -- overseen by the EU directly -- requiring it to assess and mitigate systemic risks on Facebook and Instagram, including in areas like minors' mental health. In a briefing with journalists, senior Commission officials said they suspect Meta of failing to properly assess and mitigate risks affecting children. They particularly highlighted concerns about addictive design on its social networks, and what they referred to as a "rabbit hole effect," where a minor watching one video may be pushed to view more similar content as a result of the platforms' algorithmic content recommendation engines. Commission officials gave examples of depression content, or content that promotes an unhealthy body image, as types of content that could have negative impacts on minors' mental health. They are also concerned that the age assurance methods Meta uses may be too easy for kids to circumvent. "One of the underlying questions of all of these grievances is how can we be sure who accesses the service and how effective are the age gates -- particularly for avoiding that underage users access the service," said a senior Commission official briefing press today on background. "This is part of our investigation now to check the effectiveness of the measures that Meta has put in place in this regard as well." In all, the EU suspects Meta of infringing DSA Articles 28, 34, and 35. The Commission will now carry out an in-depth investigation of the two platforms' approach to child protection.

Read more of this story at Slashdot.

Russia Directing Hackers To Attack UK and West, Says Director of GCHQ

Slashdot.org - Thu, 05/16/2024 - 14:20
Russia is increasingly seeking to encourage and direct hackers to attack British and other western targets, the director of GCHQ has said in her first keynote speech as head of the British intelligence agency. From a report: Anne Keast-Butler said her agency was "increasingly concerned about growing links" between the Russian intelligence services and proxy hacker groups who have long taken advantage of a permissive environment within the country. "Before, Russia simply created the right environments for these groups to operate but now they're nurturing and inspiring these non state cyber actors," she said in a speech to the Cyber UK conference, in what she described as a "globally pervasive" threat. The spy chief, appointed last year to be the first woman to hold the role, referenced the threat from ransomware -- "the most acute and pervasive cyber threat" -- where cybercriminals, typically from Russia, take control of a company's data and systems and demand significant sums to regain access. GCHQ was "doing everything we can" to counter ransomware actors, Keast-Butler said, degrade their ability to attack systems across government and business and to "produce intelligence that means those involved in ransomware are held to account." There is "no hiding place" for cybercriminals she added.

Read more of this story at Slashdot.

Samsung Mocks Apple's Controversial 'Crush' Ad With 'UnCrush' Pitch

Slashdot.org - Thu, 05/16/2024 - 13:40
Samsung has released a response to Apple's recently criticized "Crush" ad, which featured the destruction of instruments, arcade games, and sculptures to promote the new iPad Pro. Apple subsequently apologized, with an executive admitting they "missed the mark." In a video titled "UnCrush," created by BBH USA and directed by Zen Pace, Samsung depicts a woman navigating debris reminiscent of Apple's ad, using a Galaxy Tab S9 and Galaxy AI to play guitar, in contrast to Apple's destructive message. "We would never crush creativity," the caption of Samsung's video reads.

Read more of this story at Slashdot.

Syndicate content
Comment