sshfs — mount a remote filesystem over SSH
—
How to install sshfs on Debian, Ubuntu, Fedora and Arch, mount a remote directory over SSH, unmount it, reconnect automatically, mount it from /etc/fstab, and use rclone mount as an alternative.
nohup — keep a command running after you log out
—
How to use nohup to keep a Linux command running after closing the terminal or an SSH session, where the output goes, and when to use disown, tmux or systemd-run instead.
dmesg — read kernel and boot messages on Linux
—
How to use dmesg to read the Linux kernel ring buffer: readable timestamps, filtering by level and facility, following new messages live, the Operation not permitted error, and journalctl -k.
alias — create shortcuts for your Linux commands
—
How to create, list and remove command aliases in Bash, make them permanent in ~/.bashrc or ~/.bash_aliases, bypass them, use them with sudo, and when to write a function instead.
chgrp — change the group of a file on Linux
—
How to use the chgrp command on Linux to change the group ownership of files and directories, with practical examples and a comparison with chown
bc — GNU Linux command line calculator
—
How to use bc, the GNU Linux command line calculator, for basic and advanced arithmetic directly from the terminal or inside shell scripts
How to add a user to a group in Linux
—
How to add a user to a group in Linux using usermod, useradd, and gpasswd — with examples for existing users, new users, primary groups, and multiple groups at once
Bash for loop — a practical guide
—
Learn how to use the bash for loop in scripts and the command line, with practical examples including counters, ranges, break and continue
How to change the hostname on Linux
—
How to change the hostname on Linux permanently using hostnamectl on systemd systems, and also the traditional method for older systems
diff — Linux command to compare files
—
How to use the diff command in Linux to compare files and directories, with examples for unified output, patches, and recursive directory comparison.
The site is back after two years offline
—
A short note about bringing the site back online after almost two years offline and three years without publishing new content.