Feed aggregator

How to get and extract filename extension in Bash

nixCraft - 17 hours 27 min ago
I have a valuable tip for you on extracting the filename and extension in Bash when using Linux, macOS, FreeBSD, or Unix-like systems. It's quick and easy to follow. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to get and extract filename extension in Bash appeared first on nixCraft. 2023-08-05T06:54:51Z 2023-08-05T06:54:51Z Vivek Gite

Bash Append Text To a Variable (Concatenate Strings)

nixCraft - 17 hours 27 min ago
{Updated} How do I append additional text a variable? For e.g., I've a vech set as follows: vech='London', I would like to add (append) 'Bus' word to '$vevh' under UNIX or Linux shell scripting using bash?The post Bash Append Text To a Variable (Concatenate Strings) appeared first on nixCraft. 2023-08-03T07:36:00Z 2023-08-03T07:36:00Z Vivek Gite

Debian/Ubuntu Linux show package changelog command

nixCraft - 17 hours 27 min ago
Are you interested in checking the changelog of a package on Debian or Ubuntu and Linux Mint? You may need to search to see if the particular CVE (Common Vulnerabilities and Exposures) is fixed. Suppose you have installed or upgraded a package in Debian or Ubuntu Linux. In that case, you can easily find out what changes have been made to the package, including new features or bug fixes. Here's how you can view the changelog of a Debian package in Debian or Ubuntu Linux. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Debian/Ubuntu Linux show package changelog command appeared first on nixCraft. 2023-08-02T04:37:32Z 2023-08-02T04:37:32Z Vivek Gite

How check or see laptop battery health in Linux

nixCraft - 17 hours 27 min ago
There are a few ways to check your Laptop's battery health in Linux. Here are a few methods that use the upower and acpi commands to check your Laptop's battery health in Linux, such as battery percentage, battery vendor name, current battery state, charge cycles, and more. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How check or see laptop battery health in Linux appeared first on nixCraft. 2023-07-31T08:57:03Z 2023-07-31T08:57:03Z Vivek Gite

Howto Find Out or Learn Harddisk Size in Linux or UNIX

nixCraft - 17 hours 27 min ago
{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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
{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 - 17 hours 27 min ago
{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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
{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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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 - 17 hours 27 min ago
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

Robot Dogs Armed With AI-aimed Rifles Undergo US Marines Special Ops Evaluation

Slashdot.org - Sat, 05/18/2024 - 22:59
Long-time Slashdot reader SonicSpike shared this report from Ars Technica: The United States Marine Forces Special Operations Command (MARSOC) is currently evaluating a new generation of robotic "dogs" developed by Ghost Robotics, with the potential to be equipped with gun systems from defense tech company Onyx Industries, reports The War Zone. While MARSOC is testing Ghost Robotics' quadrupedal unmanned ground vehicles (called "Q-UGVs" for short) for various applications, including reconnaissance and surveillance, it's the possibility of arming them with weapons for remote engagement that may draw the most attention. But it's not unprecedented: The US Marine Corps has also tested robotic dogs armed with rocket launchers in the past. MARSOC is currently in possession of two armed Q-UGVs undergoing testing, as confirmed by Onyx Industries staff, and their gun systems are based on Onyx's SENTRY remote weapon system (RWS), which features an AI-enabled digital imaging system and can automatically detect and track people, drones, or vehicles, reporting potential targets to a remote human operator that could be located anywhere in the world. The system maintains a human-in-the-loop control for fire decisions, and it cannot decide to fire autonomously. On LinkedIn, Onyx Industries shared a video of a similar system in action. In a statement to The War Zone, MARSOC states that weaponized payloads are just one of many use cases being evaluated. MARSOC also clarifies that comments made by Onyx Industries to The War Zone regarding the capabilities and deployment of these armed robot dogs "should not be construed as a capability or a singular interest in one of many use cases during an evaluation."

Read more of this story at Slashdot.

Syndicate content
Comment