Linux Commands
Command references for core Linux tools, syntax, examples, and practical one-liners.
Rust Coreutils in Ubuntu 26.04: What uutils Changes for Shell Scripts
Ubuntu 26.04 runs uutils for stat, ln, chown, and more. See what breaks in shell scripts, how to call the GNU tools, and how to switch back.

How to Remove or Delete a Directory in Linux
Remove a directory in Linux with rmdir for empty folders, rm -rf for non-empty ones, or find for bulk deletion. Examples and common errors.

Grep Command in Linux with Examples
The grep command searches files for text patterns. Quick examples for case-insensitive, recursive, whole-word, regex, and context-line searches.

sort Command in Linux: Sort Lines of Text
Sort lines in Linux alphabetically, numerically, or by column with sort -k and -t. Covers reverse, unique, version, and in-place sorting with examples.

stat Command in Linux: Display File and Filesystem Information
stat shows a file's size, inode, permissions, and timestamps. Read its output, check filesystem details, and print single fields for scripts with --format.

nohup Command in Linux: Background Jobs and Output
nohup keeps commands running after logout. The 'appending output to nohup.out' message is not an error. This guide covers background jobs, 2>&1 redirection, and stopping processes.

wget Command in Linux: Download Files with Examples
Use wget to download files on Linux, resume interrupted transfers, save files to a directory, and mirror websites, with practical command examples.

Understanding the /etc/shadow File in Linux
The /etc/shadow file stores hashed passwords and password aging data for each user on a Linux system. This guide explains the file format, hash types, field meanings, and how to query password information safely.

nslookup Command in Linux: Query DNS Records
Query A, AAAA, MX, NS, and TXT records with nslookup, run reverse lookups, install it on Debian and Ubuntu, and read NXDOMAIN, No answer, and timeout errors.

export Command in Linux: Set Bash Environment Variables
Use export to turn Bash shell variables into environment variables that child processes inherit, list exported variables, and make them permanent across sessions.

mv Command in Linux: Move Files and Directories
Move and rename files and directories in Linux with the mv command, including overwrite prompts, backups, the -T option, and cross-filesystem moves.

git stash: Save and Restore Uncommitted Changes
Use git stash to set aside uncommitted changes, switch branches, and bring the work back later. Includes applying a specific stash, stashing untracked files, and fixing pop conflicts.

Linux File Permissions Explained
Linux file permissions control who can read, write, and execute files and directories. Learn how to inspect and change permissions with ls, stat, and chmod.

chmod 777: What It Means and Why You Should Never Use It
chmod 777 grants every user full control of a file or directory. See why it is risky and when to use safer 755 or 644 permissions instead.

How to Unzip a .gz File in Linux
Unzip a .gz file in Linux with gzip or gunzip, keep the original file when needed, and extract .tar.gz archives with tar.

id Command in Linux: Display User and Group Information
Use the id command to print a user's UID, GID, and group memberships, get single values for shell scripts, and see why a newly added group does not show up yet.

How to Use the pkill Command in Linux
The pkill command sends signals to Linux processes by name, user, terminal, or full command pattern. Covers safe matching, common options, and examples.



