# nixCraft

Published articles for nixCraft.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## GIMP 3.0 Released With Updated UI, Wayland Support, Improved File Compatibility, and Plugin API Changes

DevFeed: [GIMP 3.0 Released With Updated UI, Wayland Support, Improved File Compatibility, and Plugin API Changes](<https://devfeed.tech/articles/download-of-the-day-gimp-3-0-is-finally-here-41958.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/linux-news/download-of-the-day-gimp-3-0-is-finally-here/>)

Author: Vivek Gite

Published: 2025-03-18T03:45:26Z

Content type: release

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [software-development](<https://devfeed.tech/topics/software-development.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Wayland](<https://devfeed.tech/topics/wayland.md>), [API](<https://devfeed.tech/topics/api.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [file](<https://devfeed.tech/topics/file.md>), [format](<https://devfeed.tech/topics/format.md>), [export](<https://devfeed.tech/topics/export.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [centos](<https://devfeed.tech/tags/centos.md>), [compression](<https://devfeed.tech/tags/compression.md>), [css](<https://devfeed.tech/tags/css.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [downloads](<https://devfeed.tech/tags/downloads.md>), [export](<https://devfeed.tech/tags/export.md>), [file](<https://devfeed.tech/tags/file.md>), [format](<https://devfeed.tech/tags/format.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [gimp](<https://devfeed.tech/tags/gimp.md>), [import](<https://devfeed.tech/tags/import.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-news](<https://devfeed.tech/tags/linux-news.md>), [macos](<https://devfeed.tech/tags/macos.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [release](<https://devfeed.tech/tags/release.md>), [sysadmin](<https://devfeed.tech/tags/sysadmin.md>), [unix](<https://devfeed.tech/tags/unix.md>), [upgrades](<https://devfeed.tech/tags/upgrades.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

GIMP 3.0 was released on March 16, 2025. The release adds a GTK3 interface, HiDPI and tablet improvements, Wayland support, CSS-based themes, updated icons, broader file-format compatibility, painting and text improvements, and updates to the core plugin API.

### Source excerpt

Wow! After years of hard work and countless commits, we have finally reached a huge milestone: GIMP 3.0 is officially released! I am excited as I write this and can't wait to share some incredible new features and improvements in this release. GIMP 2.10 was released in 2018, and the first development version of GIMP 3.0 came out in 2020. GIMP 3.0 released on 16/March/2025. Let us explore how to download and install GIMP 3.0, as well as the new features in this version. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Download of the day: GIMP 3.0 is FINALLY Here! appeared first on nixCraft.

## How to list upgradeable packages on FreeBSD using pkg

DevFeed: [How to list upgradeable packages on FreeBSD using pkg](<https://devfeed.tech/articles/how-to-list-upgradeable-packages-on-freebsd-using-pkg-41944.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/pkg-command-list-upgradeable-packages-freebsd/>)

Author: Vivek Gite

Published: 2025-03-16T20:25:39Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [freebsd](<https://devfeed.tech/topics/freebsd.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [dry-run](<https://devfeed.tech/tags/dry-run.md>), [easy](<https://devfeed.tech/tags/easy.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [packages](<https://devfeed.tech/tags/packages.md>), [system](<https://devfeed.tech/tags/system.md>)

### AI overview

A practical FreeBSD guide to listing packages that need upgrades with pkg. It explains package status markers, filtering results, applying upgrades, and using dry-run mode to preview changes.

### Source excerpt

Here is a quick list of all upgradeable packages on FreeBSD using pkg command. This is equivalent to apt list --upgradable command on my Debian or Ubuntu Linux system. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to list upgradeable packages on FreeBSD using pkg appeared first on nixCraft.

## Ubuntu to Explore Rust-Based "uutils" as Potential GNU Core Utilities Replacement

DevFeed: [Ubuntu to Explore Rust-Based "uutils" as Potential GNU Core Utilities Replacement](<https://devfeed.tech/articles/ubuntu-to-explore-rust-based-uutils-as-potential-gnu-core-utilities-replacement-41959.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/linux-news/ubuntu-to-explore-rust-based-uutils-as-potential-gnu-core-utilities-replacement/>)

Author: Vivek Gite

Published: 2025-03-16T12:17:36Z

Content type: article

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [canonical](<https://devfeed.tech/topics/canonical.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [developer](<https://devfeed.tech/tags/developer.md>), [devops](<https://devfeed.tech/tags/devops.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-news](<https://devfeed.tech/tags/linux-news.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [rust](<https://devfeed.tech/tags/rust.md>), [sysadmin](<https://devfeed.tech/tags/sysadmin.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

Canonical is exploring Rust-based uutils as a potential replacement for GNU Core Utilities in Ubuntu, with possible changes beginning in Ubuntu 25.10 and extending to Ubuntu 26.04 LTS. The article explains the role of core utilities and discusses possible memory-safety and performance benefits.

### Source excerpt

In a move that has sparked significant discussion within the Ubuntu Linux fan-base and community, Canonical, the company behind Ubuntu, has announced its intention to explore the potential replacement of GNU Core Utilities with the Rust-based "uutils" project. They plan to introduce new changes in Ubuntu Linux 25.10, eventually changing it to Ubuntu version 26.04 LTS release in 2026 as Ubuntu is testing Rust 'uutils' to overhaul its core utilities potentially. Let us find out the pros and cons and what this means for you as an Ubuntu Linux user, IT pro, or developer. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Ubuntu to Explore Rust-Based "uutils" as Potential GNU Core Utilities Replacement appeared first on nixCraft.

## How to install KSH on FreeBSD

DevFeed: [How to install KSH on FreeBSD](<https://devfeed.tech/articles/how-to-install-ksh-on-freebsd-41922.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/how-to-install-ksh-kornshell-on-freebsd/>)

Author: Vivek Gite

Published: 2025-03-03T23:50:59Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [freebsd](<https://devfeed.tech/topics/freebsd.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Script](<https://devfeed.tech/topics/script.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>)

Tags: [administration](<https://devfeed.tech/tags/administration.md>), [easy](<https://devfeed.tech/tags/easy.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [legacy-systems](<https://devfeed.tech/tags/legacy-systems.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on installing KornShell on FreeBSD using either the ports collection or the pkg package manager. It also covers selecting the installed shell, locating KSH packages, accessing documentation, and the relevance of KSH for legacy Unix scripting and system administration.

### Source excerpt

Installing KSH (KornShell) on FreeBSD can be done with either FreeBSD ports or the pkg command. The ports collection will download the KSH source code, compile it, and install it on the system. The pkg method is easier, and it will download a pre-compiled binary package. Hence, it is recommended for all users. KornShell (KSH) has a long history, and many older Unix systems and scripts rely on it. As a result, KSH remains relevant for maintaining and supporting legacy infrastructure. Large enterprises, especially those with established Unix-based systems, continue to use KSH for scripting and system administration tasks. Some industries where KSH is still commonly used include finance and telecommunications. While Bash has become the dominant shell in many Linux distributions, KSH still holds a significant presence in Unix-like environments, particularly in legacy systems. Therefore, installing KSH and practicing with it is worthwhile if you plan to work in such environments. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install KSH on FreeBSD appeared first on nixCraft.

## Linux Sed Tutorial: Learn Text Editing with Syntax & Examples

DevFeed: [Linux Sed Tutorial: Learn Text Editing with Syntax & Examples](<https://devfeed.tech/articles/linux-sed-tutorial-learn-text-editing-with-syntax-examples-41937.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/linux-sed-command-tutorial-for-text-editing-with-syntax-examples/>)

Author: Vivek Gite

Published: 2025-03-03T09:47:07Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [File Editing](<https://devfeed.tech/topics/file-editing.md>), [Streams](<https://devfeed.tech/topics/streams.md>), [Script](<https://devfeed.tech/topics/script.md>), [Unix](<https://devfeed.tech/topics/unix.md>)

Tags: [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [commands](<https://devfeed.tech/tags/commands.md>), [easy](<https://devfeed.tech/tags/easy.md>), [file-editing](<https://devfeed.tech/tags/file-editing.md>), [linux](<https://devfeed.tech/tags/linux.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on sed, the Unix stream editor, explains how to edit text noninteractively from the command line. It covers pattern and hold buffers, standard input and output, regular expressions, editing commands, and file-saving behavior.

### Source excerpt

Sed is an acronym for "stream editor." A stream refers to a source or destination for bytes. In other words, sed can read its input from standard input (stdin), apply the specified edits to the stream, and automatically output the results to standard output (stdout). Sed syntax allows an input file to be specified on the command line. However, the syntax does not directly support output file specification; this can be achieved through output redirection or editing files in place while making a backup of the original copy optionally. Sed is one of the most powerful tools on Linux and Unix-like systems. Learning it is worthwhile, so in this tutorial, we will start with the sed command syntax and examples. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux Sed Tutorial: Learn Text Editing with Syntax & Examples appeared first on nixCraft.

## How to tell if FreeBSD needs a Reboot using kernel version check

DevFeed: [How to tell if FreeBSD needs a Reboot using kernel version check](<https://devfeed.tech/articles/how-to-tell-if-freebsd-needs-a-reboot-using-kernel-version-check-41915.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/freebsd-determine-if-a-system-reboot-is-necessary/>)

Author: Vivek Gite

Published: 2025-02-23T22:07:23Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [freebsd](<https://devfeed.tech/topics/freebsd.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Ansible](<https://devfeed.tech/topics/ansible.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Security](<https://devfeed.tech/topics/security.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [easy](<https://devfeed.tech/tags/easy.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [shell](<https://devfeed.tech/tags/shell.md>), [shell-script](<https://devfeed.tech/tags/shell-script.md>)

### AI overview

A practical guide to determining whether a FreeBSD system needs a reboot after updates. It explains how to compare the running and installed kernel versions, use shell commands and scripts, and automate checks across a server fleet with Ansible.

### Source excerpt

Keeping your FreeBSD server or workstation updated is crucial for security and stability. However, after applying updates, especially kernel updates, you might wonder, "Do I need to reboot my system?" Let's simplify this process and provide a straightforward method for determining whether a reboot is necessary using the CLI, shell script, and ansible playbook. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to tell if FreeBSD needs a Reboot using kernel version check appeared first on nixCraft.

## Rsync Versions 3.3.0 and Earlier Affected by Multiple Security Vulnerabilities

DevFeed: [Rsync Versions 3.3.0 and Earlier Affected by Multiple Security Vulnerabilities](<https://devfeed.tech/articles/critical-rsync-vulnerability-requires-immediate-patching-on-linux-and-unix-systems-41957.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/linux-news/cve-2024-12084-rsyn-security-urgent-update-needed-on-unix-bsd-systems/>)

Author: Vivek Gite

Published: 2025-01-15T18:04:24Z

Content type: news

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [rsync](<https://devfeed.tech/topics/rsync.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [backups](<https://devfeed.tech/topics/backups.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [buffer-overflow](<https://devfeed.tech/tags/buffer-overflow.md>), [centos](<https://devfeed.tech/tags/centos.md>), [client](<https://devfeed.tech/tags/client.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-news](<https://devfeed.tech/tags/linux-news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [race-condition](<https://devfeed.tech/tags/race-condition.md>), [rsync](<https://devfeed.tech/tags/rsync.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [sysadmin](<https://devfeed.tech/tags/sysadmin.md>), [unix](<https://devfeed.tech/tags/unix.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

Rsync versions 3.3.0 and earlier are affected by multiple security vulnerabilities, including heap-based buffer overflow, information disclosure, symbolic-link race conditions, and path traversal. The document recommends patching rsync on both client and server systems.

### Source excerpt

Rsync is a opensource command-line tool in Linux, macOS, *BSD and Unix-like systems that synchronizes files and directories. It is a popular tool for sending or receiving files, making backups, or setting up mirrors. It minimizes data copied by transferring only the changed parts of files, making it faster and more bandwidth-efficient than traditional copying methods provided by tools like sftp or ftp-ssl. Rsync versions 3.3.0 and below has been found with SIX serious vulnerabilities. Attackers could exploit these to leak your data, corrupt your files, or even take over your system. There is a heap-based buffer overflow with a CVSS score of 9.8 that needs to be addressed on both the client and server sides of rsync package. Apart from that info leak via uninitialized stack contents defeats ASLR protection and rsync server can make client write files outside of destination directory using symbolic links. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Critical Rsync Vulnerability Requires Immediate Patching on Linux and Unix systems appeared first on nixCraft.

## How to control the SSH multiplexing with the control commands

DevFeed: [How to control the SSH multiplexing with the control commands](<https://devfeed.tech/articles/how-to-control-the-ssh-multiplexing-with-the-control-commands-41951.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/ssh-multiplexing-control-command-to-check-forward-list-cancel-stop-connections/>)

Author: Vivek Gite

Published: 2025-01-15T08:29:10Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [OpenSSH](<https://devfeed.tech/topics/openssh.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [commands](<https://devfeed.tech/tags/commands.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [linux](<https://devfeed.tech/tags/linux.md>), [openbsd](<https://devfeed.tech/tags/openbsd.md>), [remote](<https://devfeed.tech/tags/remote.md>), [server](<https://devfeed.tech/tags/server.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on SSH multiplexing explains how to reuse a master TCP connection for subsequent sessions, configure multiplexing in SSH, and use control commands to inspect, stop, or exit the master connection.

### Source excerpt

Multiplexing will boost your SSH connectivity or speed by reusing existing TCP connections to a remote host. This is useful when you frequently connect to the same server using SSH protocol for remote login, server management, using IT automation tools over SSH or even running hourly backups. However, sometimes your SSH command (client) will not respond or get hung up on the session when using multiplexing. Typically, this happens when your public IP changes (IPv4 to IPv6 changes when using DNS names), VPN issues, or firewall cuts connections. Hence, knowing SSH client control commands can save you time and boost your productivity when such gotchas occur. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to control the SSH multiplexing with the control commands appeared first on nixCraft.

## ZFS Raidz Expansion Finally, Here in version 2.3.0

DevFeed: [ZFS Raidz Expansion Finally, Here in version 2.3.0](<https://devfeed.tech/articles/zfs-raidz-expansion-finally-here-in-version-2-3-0-41960.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/linux-news/zfs-raidz-expansion-finally-here-in-version-2-3-0/>)

Author: Vivek Gite

Published: 2025-01-14T09:19:20Z

Content type: release

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [RAID](<https://devfeed.tech/topics/raid.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [freebsd](<https://devfeed.tech/topics/freebsd.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [NVMe](<https://devfeed.tech/topics/nvme.md>), [JSON](<https://devfeed.tech/topics/json.md>), [bug](<https://devfeed.tech/topics/bug.md>), [make](<https://devfeed.tech/topics/make.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [hard-disk](<https://devfeed.tech/tags/hard-disk.md>), [io](<https://devfeed.tech/tags/io.md>), [json](<https://devfeed.tech/tags/json.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-news](<https://devfeed.tech/tags/linux-news.md>), [nvme](<https://devfeed.tech/tags/nvme.md>), [raid](<https://devfeed.tech/tags/raid.md>), [releases](<https://devfeed.tech/tags/releases.md>), [sysadmins](<https://devfeed.tech/tags/sysadmins.md>), [testing](<https://devfeed.tech/tags/testing.md>), [zfs](<https://devfeed.tech/tags/zfs.md>)

### AI overview

OpenZFS 2.3.0 introduces RAIDZ expansion, allowing devices to be added to an existing RAIDZ pool to increase capacity without downtime. The release also includes faster deduplication, direct I/O, optional JSON output for ZFS commands, longer file and directory names, and bug fixes.

### Source excerpt

After years of development and testing, the ZFS raidz expansion is finally here and has been released as part of version 2.3.0. ZFS is a popular file system for Linux and FreeBSD. RAIDz is like RAID 5, which you find with hardware or Linux software raid devices. It protects your data by spreading it across multiple hard disks along with parity information. A raidz device can have single, double, or triple parity to sustain one, two, or three hard disk failures, respectively, without losing any data. Hence, expanding or adding a new HDD is a very handy feature for sysadmins in today's data-sensitive apps. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post ZFS Raidz Expansion Finally, Here in version 2.3.0 appeared first on nixCraft.

## How to run Docker inside Incus containers

DevFeed: [How to run Docker inside Incus containers](<https://devfeed.tech/articles/how-to-run-docker-inside-incus-containers-41924.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/how-to-run-docker-inside-incus-containers/>)

Author: Vivek Gite

Published: 2024-12-18T05:44:26Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [container](<https://devfeed.tech/topics/container.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [btrfs](<https://devfeed.tech/topics/btrfs.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [btrfs](<https://devfeed.tech/tags/btrfs.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [containers](<https://devfeed.tech/tags/containers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [docker](<https://devfeed.tech/tags/docker.md>), [easy](<https://devfeed.tech/tags/easy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [incus](<https://devfeed.tech/tags/incus.md>), [linux](<https://devfeed.tech/tags/linux.md>)

### AI overview

A tutorial on running Docker inside Incus containers, including storage setup with BTRFS, installation, nested container deployment, and resource limits. It also explains using cloud-provider-like instance sizes for local application testing.

### Source excerpt

Incus and Docker both use Linux kernel features to containerize your applications. Incus is best suited when you need system-level containers that act like traditional VMs and provide a persistent developer experience. On the other hand, Docker containers are ephemeral, i.e., temporary in nature. All files created inside Docker containers are lost when your Docker container is stopped or removed unless you stored them using volumes in different directories outside Docker. Docker is created as a disposable app deployment system. Incus containers are not typically created as disposables, and data is kept inside when they are stopped. Because of the Linux kernel support nesting feature, you can run Docker inside Incus. This page explains how to run Docker inside Incus containers. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to run Docker inside Incus containers appeared first on nixCraft.

## MySQL Change root Password Command

DevFeed: [MySQL Change root Password Command](<https://devfeed.tech/articles/mysql-change-root-password-command-41942.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/mysql-change-root-password/>)

Author: Vivek Gite

Published: 2024-12-09T16:19:00Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [MySQL](<https://devfeed.tech/topics/mysql.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Database](<https://devfeed.tech/topics/database.md>), [Security](<https://devfeed.tech/topics/security.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [easy](<https://devfeed.tech/tags/easy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [mysql-command](<https://devfeed.tech/tags/mysql-command.md>), [mysqladmin-command](<https://devfeed.tech/tags/mysqladmin-command.md>), [password](<https://devfeed.tech/tags/password.md>), [root-password](<https://devfeed.tech/tags/root-password.md>), [security](<https://devfeed.tech/tags/security.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial explains how to change the MySQL root password using mysqladmin or the mysql command, including safer password handling and encrypted connections with SSL options.

### Source excerpt

How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like like operating system over the ssh session? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post MySQL Change root Password Command appeared first on nixCraft.

## How to enable mouse to copy & paste in vim

DevFeed: [How to enable mouse to copy & paste in vim](<https://devfeed.tech/articles/how-to-enable-mouse-to-copy-paste-in-vim-41913.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/enable-vim-mouse-copy-paste-in-ubuntu-debian-linux-unix/>)

Author: Vivek Gite

Published: 2024-11-28T13:44:35Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Vim](<https://devfeed.tech/topics/vim.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [debian](<https://devfeed.tech/tags/debian.md>), [developers](<https://devfeed.tech/tags/developers.md>), [easy](<https://devfeed.tech/tags/easy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [vim](<https://devfeed.tech/tags/vim.md>)

### AI overview

This tutorial explains how to enable mouse-based copy and paste in Vim on Ubuntu, Debian-based Linux distributions, and other Unix-like environments. It covers persistent configuration through Vim configuration files and mouse modes for terminal and GUI use.

### Source excerpt

Some Linux distro like Debian or specific BSD variants provide very little configuration support for mouse out of the box for Vim. Let us see how to paste in Vim using a mouse by enabling support, which is useful for new developers and sysadmin coming from Windows background. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to enable mouse to copy & paste in vim appeared first on nixCraft.

## How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage

DevFeed: [How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage](<https://devfeed.tech/articles/how-to-install-vnstat-on-debian-12-11-to-monitor-network-interface-bandwidth-usage-41911.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/debian-linux-install-vnstat-console-network-traffic-monitor/>)

Author: Vivek Gite

Published: 2024-11-27T19:07:02Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Debian](<https://devfeed.tech/topics/debian.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [monitor](<https://devfeed.tech/topics/monitor.md>), [Network](<https://devfeed.tech/topics/network.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Script](<https://devfeed.tech/topics/script.md>), [JSON](<https://devfeed.tech/topics/json.md>), [XML](<https://devfeed.tech/topics/xml.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [easy](<https://devfeed.tech/tags/easy.md>), [formats](<https://devfeed.tech/tags/formats.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [json](<https://devfeed.tech/tags/json.md>), [linux](<https://devfeed.tech/tags/linux.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [network](<https://devfeed.tech/tags/network.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

A tutorial for installing and configuring vnStat on Debian 12 or 11 to monitor network-interface bandwidth. It covers interface discovery, configuration, service management, traffic statistics, command-line graphs, and XML or JSON output.

### Source excerpt

Do you need to keep track of the network traffic (bandwidth) usage for the Network interface controller (NIC) of your Debian Linux-based cloud or bare metal server? Look no forward. Try the vnStat, a free and open-source console-based network traffic monitor that keeps a log of 5-minute intervals, hourly, daily, monthly, and yearly network traffic for the selected interface. Once installed, vnStat can be used even without root permissions on most systems. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage appeared first on nixCraft.

## How to find hard disk (SSD) serial numbers in Linux

DevFeed: [How to find hard disk (SSD) serial numbers in Linux](<https://devfeed.tech/articles/how-to-find-hard-disk-ssd-serial-numbers-in-linux-41945.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/search-finding-hard-disk-ssd-serial-numbers-linux-command/>)

Author: Vivek Gite

Published: 2024-11-16T21:38:35Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [systems](<https://devfeed.tech/topics/systems.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [backups](<https://devfeed.tech/topics/backups.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [command](<https://devfeed.tech/tags/command.md>), [easy](<https://devfeed.tech/tags/easy.md>), [hard-disk](<https://devfeed.tech/tags/hard-disk.md>), [hdd](<https://devfeed.tech/tags/hdd.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [smart](<https://devfeed.tech/tags/smart.md>), [ssd](<https://devfeed.tech/tags/ssd.md>)

### AI overview

A Linux tutorial showing how to find hard-disk and SSD serial numbers with smartctl and lsblk, including installation commands for several Linux distributions.

### Source excerpt

You need to use the smartctl command to display the hard disk (SSD) serial numbers in Linux. This is useful when changing your hard disk if it goes bad. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to find hard disk (SSD) serial numbers in Linux appeared first on nixCraft.

## How to install kvm-ok on Debian or Ubuntu Linux

DevFeed: [How to install kvm-ok on Debian or Ubuntu Linux](<https://devfeed.tech/articles/how-to-install-kvm-ok-on-debian-or-ubuntu-linux-41935.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/installing-kvm-ok-command-on-debian-ubuntu-linux/>)

Author: Vivek Gite

Published: 2024-11-16T06:54:11Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [virtualization](<https://devfeed.tech/topics/virtualization.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [aws](<https://devfeed.tech/tags/aws.md>), [bios](<https://devfeed.tech/tags/bios.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [debian](<https://devfeed.tech/tags/debian.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kvm](<https://devfeed.tech/tags/linux-kvm.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [ubuntu-linux](<https://devfeed.tech/tags/ubuntu-linux.md>), [virtual-machines](<https://devfeed.tech/tags/virtual-machines.md>), [virtualization](<https://devfeed.tech/tags/virtualization.md>)

### AI overview

A tutorial on installing and using kvm-ok on Debian or Ubuntu Linux to verify CPU virtualization support, BIOS settings, and the availability of KVM for running hardware-accelerated virtual machines. It also covers troubleshooting on cloud instances and with Intel or AMD processors.

### Source excerpt

The KVM-ok command command will tell you if your Debian or Ubuntu Linux-powered server can host hardware-accelerated KVM virtual machines. KVM (Kernel-based Virtual Machine) is a free and open-source virtualization technology that is used with every Linux kernel. In other words, KVM will make your Linux computer into a hypervisor, allowing you to run multiple isolated virtual machines (VMs) on a single physical machine. However, KVM depends upon CPU hardware virtualization extensions like Intel VT-x or AMD-V to provide high-performance virtual machines. This support must be enabled in the BIOS. Apart from that, some cloud service providers also allow nested virtualization that will help you to run VMs inside your instances. However, this may not be enabled in BIOS or instance configuration. Thus, you need to install the kvm-ok command to determine whether such support exists. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to install kvm-ok on Debian or Ubuntu Linux appeared first on nixCraft.

## zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix

DevFeed: [zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix](<https://devfeed.tech/articles/zcommands-read-gzip-compressed-text-files-on-a-fly-on-linux-and-unix-41964.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/tips/decompress-and-expand-text-files.html>)

Author: Vivek Gite

Published: 2024-11-01T20:34:07Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [file](<https://devfeed.tech/topics/file.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [egrep-command](<https://devfeed.tech/tags/egrep-command.md>), [expression](<https://devfeed.tech/tags/expression.md>), [file](<https://devfeed.tech/tags/file.md>), [grep-command](<https://devfeed.tech/tags/grep-command.md>), [linux](<https://devfeed.tech/tags/linux.md>), [text](<https://devfeed.tech/tags/text.md>), [tip-of-the-day](<https://devfeed.tech/tags/tip-of-the-day.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on using z* commands on Linux and Unix to read, search, compare, and inspect gzip-compressed text files without manually decompressing them. It covers commands including zcat, zless, zmore, zgrep, zdiff, zcmp, and znew.

### Source excerpt

Linux and Unix like operating systems comes with z* commands. These commands allow you to read gzip compressed text files using zless, zcat, zmore, and friends commands. The gzip command reduces the size of the files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz while keeping the same ownership modes, access, and modification times. z* commands have some cool usage too, such as display the current time in different zonename. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix appeared first on nixCraft.

## How do I unzip multiple / many files under Linux?

DevFeed: [How do I unzip multiple / many files under Linux?](<https://devfeed.tech/articles/how-do-i-unzip-multiple-many-files-under-linux-41941.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/linux-unix-shell-unzipping-many-zip-files/>)

Author: Vivek Gite

Published: 2024-09-27T19:56:29Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Zip](<https://devfeed.tech/topics/zip.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Script](<https://devfeed.tech/topics/script.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [easy](<https://devfeed.tech/tags/easy.md>), [error](<https://devfeed.tech/tags/error.md>), [files](<https://devfeed.tech/tags/files.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [images-directory](<https://devfeed.tech/tags/images-directory.md>), [linux](<https://devfeed.tech/tags/linux.md>), [shell](<https://devfeed.tech/tags/shell.md>), [suse](<https://devfeed.tech/tags/suse.md>), [unix](<https://devfeed.tech/tags/unix.md>), [wild](<https://devfeed.tech/tags/wild.md>), [zip](<https://devfeed.tech/tags/zip.md>)

### AI overview

A tutorial explains how to extract multiple ZIP archives on Linux and Unix-like systems. It covers why `unzip *.zip` can fail when the shell expands the wildcard, quoting or escaping the wildcard, Bash loops, and a `find`-based method for filenames containing spaces or unusual characters.

### Source excerpt

I have lots of files in a directory called /disk2/images/. All files are in zip file format, so I am using the following command to extract zip files: unzip *.zip The command result into an error which read as follows: caution: filename not matched How do I unzip multiple or many zip files under a Linux/Unix-like system? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How do I unzip multiple / many files under Linux? appeared first on nixCraft.

## Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )

DevFeed: [Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )](<https://devfeed.tech/articles/linux-unix-view-only-configuration-file-directives-uncommented-lines-of-a-config-file-41947.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/shell-display-uncommented-lines-only/>)

Author: Vivek Gite

Published: 2024-09-21T12:33:38Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [pattern matching](<https://devfeed.tech/topics/pattern-matching.md>), [POSIX](<https://devfeed.tech/topics/posix.md>), [processing](<https://devfeed.tech/topics/processing.md>), [screen](<https://devfeed.tech/topics/screen.md>), [nginx](<https://devfeed.tech/topics/nginx.md>)

Tags: [awk](<https://devfeed.tech/tags/awk.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [cli](<https://devfeed.tech/tags/cli.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [config](<https://devfeed.tech/tags/config.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [easy](<https://devfeed.tech/tags/easy.md>), [egrep-command](<https://devfeed.tech/tags/egrep-command.md>), [grep-command](<https://devfeed.tech/tags/grep-command.md>), [linux](<https://devfeed.tech/tags/linux.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [perl](<https://devfeed.tech/tags/perl.md>), [posix](<https://devfeed.tech/tags/posix.md>), [regex](<https://devfeed.tech/tags/regex.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [sed-command](<https://devfeed.tech/tags/sed-command.md>), [server](<https://devfeed.tech/tags/server.md>), [systems](<https://devfeed.tech/tags/systems.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on using grep, egrep, sed, awk, and Perl to display uncommented lines from Linux and Unix configuration files. It also covers removing blank lines, handling comments with whitespace, and viewing large files with pagers.

### Source excerpt

Most Linux and UNIX-like system configuration files are documented using comments, but sometimes I just need to see a line of configuration text in a config file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file? How can I strip out comments and blank lines on a Linux or Unix-like system? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File ) appeared first on nixCraft.

## Linux turn OFF password expiration / aging

DevFeed: [Linux turn OFF password expiration / aging](<https://devfeed.tech/articles/linux-turn-off-password-expiration-aging-41967.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/tips/setting-off-password-aging-expiration.html>)

Author: Vivek Gite

Published: 2024-09-20T11:46:01Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [passwords](<https://devfeed.tech/topics/passwords.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Users](<https://devfeed.tech/topics/users.md>), [passwd](<https://devfeed.tech/topics/passwd.md>), [Shell](<https://devfeed.tech/topics/shell.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [command](<https://devfeed.tech/tags/command.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [howto](<https://devfeed.tech/tags/howto.md>), [linux](<https://devfeed.tech/tags/linux.md>), [passwd](<https://devfeed.tech/tags/passwd.md>), [password](<https://devfeed.tech/tags/password.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [redhat-fedora-linux](<https://devfeed.tech/tags/redhat-fedora-linux.md>), [root-user](<https://devfeed.tech/tags/root-user.md>), [safety](<https://devfeed.tech/tags/safety.md>), [security](<https://devfeed.tech/tags/security.md>), [suse-linux](<https://devfeed.tech/tags/suse-linux.md>), [sys-admin](<https://devfeed.tech/tags/sys-admin.md>), [tip-of-the-day](<https://devfeed.tech/tags/tip-of-the-day.md>), [tips](<https://devfeed.tech/tags/tips.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [ubuntu-linux](<https://devfeed.tech/tags/ubuntu-linux.md>), [users](<https://devfeed.tech/tags/users.md>)

### AI overview

A Linux tutorial explaining password aging and expiration, including how to inspect account settings with chage, disable expiration for a user, and verify the resulting settings. It recommends using chage instead of directly editing /etc/shadow for safety.

### Source excerpt

The /etc/shadow file stores the actual password in encrypted format using a hash (salted) function for the user's account with additional properties related to the user passwords, such as password expiration date or password aging. The /etc/passwd stores usernames and their properties, such as home directory, login shell, and more. The password expiration information for a user is contained in the last six fields. The Linux password expiration for a select user can be disabled by editing the /etc/shadow file. However, I recommend using the chage command for safety reasons. The chage command changes the number of days between password changes and the last password change date. The Linux system uses this information to determine when users must change their passwords. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux turn OFF password expiration / aging appeared first on nixCraft.

## Linux / UNIX: DNS Lookup Command

DevFeed: [Linux / UNIX: DNS Lookup Command](<https://devfeed.tech/articles/linux-unix-dns-lookup-command-41954.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/unix-linux-dns-lookup-command/>)

Author: Vivek Gite

Published: 2024-09-13T11:37:45Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [dig-command](<https://devfeed.tech/tags/dig-command.md>), [dns-servers](<https://devfeed.tech/tags/dns-servers.md>), [easy](<https://devfeed.tech/tags/easy.md>), [host-command](<https://devfeed.tech/tags/host-command.md>), [ipv4](<https://devfeed.tech/tags/ipv4.md>), [ipv6](<https://devfeed.tech/tags/ipv6.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mail-server](<https://devfeed.tech/tags/mail-server.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on performing DNS lookups from Linux, UNIX, and macOS using command-line utilities such as host and dig. It covers querying IPv4 and IPv6 addresses, mail servers, name servers, TXT, CNAME, SOA, and other DNS records, including reverse lookups, TTL information, alternate DNS servers, and delegation tracing.

### Source excerpt

How do I perform DNS lookup under Linux, UNIX, or Apple macOS (OS X) operating systems without using 3rd party websites for troubleshooting DNS usage? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux / UNIX: DNS Lookup Command appeared first on nixCraft.

## Linux Copy One Hard Disk to Another Using dd Command

DevFeed: [Linux Copy One Hard Disk to Another Using dd Command](<https://devfeed.tech/articles/linux-copy-one-hard-disk-to-another-using-dd-command-41940.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/linux-unix-copy-clone-hard-disk/>)

Author: Vivek Gite

Published: 2024-09-09T20:04:33Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>)

Tags: [advanced](<https://devfeed.tech/tags/advanced.md>), [backups](<https://devfeed.tech/tags/backups.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [centos](<https://devfeed.tech/tags/centos.md>), [dd-command](<https://devfeed.tech/tags/dd-command.md>), [debian-linux](<https://devfeed.tech/tags/debian-linux.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [freebsd](<https://devfeed.tech/tags/freebsd.md>), [hard-disk](<https://devfeed.tech/tags/hard-disk.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [hp-ux-unix](<https://devfeed.tech/tags/hp-ux-unix.md>), [linux](<https://devfeed.tech/tags/linux.md>), [openbsd](<https://devfeed.tech/tags/openbsd.md>), [partition-table](<https://devfeed.tech/tags/partition-table.md>), [redhat-and-friends](<https://devfeed.tech/tags/redhat-and-friends.md>), [root-user](<https://devfeed.tech/tags/root-user.md>), [solaris-unix](<https://devfeed.tech/tags/solaris-unix.md>), [suse](<https://devfeed.tech/tags/suse.md>), [ubuntu-linux](<https://devfeed.tech/tags/ubuntu-linux.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A Linux tutorial explains how to clone one hard disk to another with dd, dcfldd, or ddrescue. It covers preparing disks, checking filesystems, and using package managers to install recovery tools.

### Source excerpt

How can I copy one hard disk to another using the dd, ddrescue, or dcfldd commands? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux Copy One Hard Disk to Another Using dd Command appeared first on nixCraft.

## Shell script to set up an LXD / Incus (Linux Containers) lab for testing purpose

DevFeed: [Shell script to set up an LXD / Incus (Linux Containers) lab for testing purpose](<https://devfeed.tech/articles/shell-script-to-set-up-an-lxd-incus-linux-containers-lab-for-testing-purpose-41949.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/shell-script-to-set-up-an-lxd-incus-linux-containers-lab-for-testing-purpose/>)

Author: Vivek Gite

Published: 2024-08-16T12:06:18Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [container](<https://devfeed.tech/topics/container.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Script](<https://devfeed.tech/topics/script.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [btrfs](<https://devfeed.tech/topics/btrfs.md>), [Debian](<https://devfeed.tech/topics/debian.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [btrfs](<https://devfeed.tech/tags/btrfs.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [containers](<https://devfeed.tech/tags/containers.md>), [debian](<https://devfeed.tech/tags/debian.md>), [docker](<https://devfeed.tech/tags/docker.md>), [easy](<https://devfeed.tech/tags/easy.md>), [incus](<https://devfeed.tech/tags/incus.md>), [linux](<https://devfeed.tech/tags/linux.md>), [script](<https://devfeed.tech/tags/script.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A shell script creates an LXD or Incus lab for testing multiple Linux distributions in isolated containers. The article explains configuring images and container names, deleting containers, using snapshots, and simulating cloud infrastructure or running Docker inside the lab.

### Source excerpt

LXD or Incus is a Linux operating system-level container system. You can build over 25+ Linux distros for testing, fun, and profit. You can even run GUI apps inside those containers and get output displayed back to your X display easily. For example, you can run Firefox in one Linux container for banking needs with custom add-ons, including specific firewall rules just for allowing outgoing banking and nothing else. You can have another container to run Chromium/Edge/FF for social media. Of course, it is not a replacement for something like Qubes OS, but you can do many things in an isolated environment. You can try a new Linux distro without the VM's overheads and test new features offered by that distro. All Linux containers will share the same Linux kernel and hardware devices as your GPU. Here is a quick shell script to build a quick lab to test various Linux distros. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Shell script to set up an LXD / Incus (Linux Containers) lab for testing purpose appeared first on nixCraft.

## How To check LXD/Incus container BTRFS disk usage on Linux

DevFeed: [How To check LXD/Incus container BTRFS disk usage on Linux](<https://devfeed.tech/articles/how-to-check-lxd-incus-container-btrfs-disk-usage-on-linux-41918.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/how-to-check-lxd-incus-container-btrfs-disk-usage-on-linux/>)

Author: Vivek Gite

Published: 2024-08-15T21:42:09Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [btrfs](<https://devfeed.tech/topics/btrfs.md>), [container](<https://devfeed.tech/topics/container.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Script](<https://devfeed.tech/topics/script.md>), [apt](<https://devfeed.tech/topics/apt.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [btrfs](<https://devfeed.tech/tags/btrfs.md>), [command](<https://devfeed.tech/tags/command.md>), [containers](<https://devfeed.tech/tags/containers.md>), [debian](<https://devfeed.tech/tags/debian.md>), [easy](<https://devfeed.tech/tags/easy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [incus](<https://devfeed.tech/tags/incus.md>), [install](<https://devfeed.tech/tags/install.md>), [linux](<https://devfeed.tech/tags/linux.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [shell](<https://devfeed.tech/tags/shell.md>), [shell-script](<https://devfeed.tech/tags/shell-script.md>), [storage](<https://devfeed.tech/tags/storage.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

A tutorial presents a shell script for checking LXD or Incus container disk usage on BTRFS storage under Linux. It covers locating the BTRFS mount, checking required commands and permissions, verifying the device mount, and using df. It also notes limitations of BTRFS qgroup quotas and suggests ZFS refquotas when strict quota enforcement is required.

### Source excerpt

Here is a quick and dirty shell script I put to check LXD or Incus container size and how much space they are taking on the BTRFS subvolume. Naturally, you must run the script as a root user, and LXD or Icnus must be configured with BTRFS storage backend on Linux operating systems. See how to set up and install LXD on Ubuntu 20.04 LTS or installing Incus on Debian 12/11 using the apt command. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How To check LXD/Incus container BTRFS disk usage on Linux appeared first on nixCraft.

## Linux shell script to reduce PDF file size

DevFeed: [Linux shell script to reduce PDF file size](<https://devfeed.tech/articles/linux-shell-script-to-reduce-pdf-file-size-41938.md>)

Original publisher: [Read original article](<https://www.cyberciti.biz/faq/linux-shell-script-to-reduce-pdf-file-size/>)

Author: Vivek Gite

Published: 2024-07-30T22:56:26Z

Content type: tutorial

Language: en

Sources: [nixCraft](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Script](<https://devfeed.tech/topics/script.md>), [pdf](<https://devfeed.tech/topics/pdf.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [chmod](<https://devfeed.tech/topics/chmod.md>), [Unix](<https://devfeed.tech/topics/unix.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [chmod](<https://devfeed.tech/tags/chmod.md>), [easy](<https://devfeed.tech/tags/easy.md>), [linux](<https://devfeed.tech/tags/linux.md>), [pdf](<https://devfeed.tech/tags/pdf.md>), [script](<https://devfeed.tech/tags/script.md>), [shell](<https://devfeed.tech/tags/shell.md>), [shell-script](<https://devfeed.tech/tags/shell-script.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial presents a shell script that uses Ghostscript to reduce the size of scanned PDF files on Linux and other Unix-like systems. It covers installing the script, setting executable permissions, running it, and comparing the original and compressed file sizes.

### Source excerpt

Here is a handy and useful Linux and Unix shell script that reduce PDF file size using Ghostscript. No need to upload your PDF file to the shady third-party website. Just do it from the terminal. I tested it with both CentOS and Ubuntu/Debian Linux. It should work with macOS, FreeBSD and other Unix-like systems as long as you have the Ghostscript installed. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Linux shell script to reduce PDF file size appeared first on nixCraft.

[Next page](<https://devfeed.tech/sources/nixcraft-linux-tips-hacks-tutorials-and-ideas-in-blog-format-rss-feed.md?cursor=WyIyMDI0LTA3LTMwVDIyOjU2OjI2KzAwOjAwIiwgIjQyMzVhMzE1LTg2NDYtNDcwNy04YWM4LTU2YmQ3OWJiNGM2YyJd>)