Linux Commands
Command references for core Linux tools, syntax, examples, and practical one-liners.
smartctl Command in Linux: Check Disk Health with SMART
Use smartctl in Linux to check SMART health, read disk attributes, run self-tests, troubleshoot USB enclosures, and monitor NVMe wear.

ffmpeg Command in Linux: Convert, Compress, and Extract Media
Practical ffmpeg examples for converting between formats, compressing video with CRF, extracting audio, trimming clips, resizing video, and batch processing files on Linux.

Linux Wildcards and Globbing Explained
How shell wildcards and globbing work in Linux: the *, ?, and [...] patterns, brace expansion, why globbing is not regex, and how to control it with quoting.

date Command in Linux: Format, Timezone, and Epoch
Format dates, convert timezones, and work with Unix timestamps using the Linux date command, with copy-paste examples for the terminal and shell scripts.

How to Check if a Command Exists in Bash
Check whether a command exists in Bash with command -v, capture its path, validate several dependencies, and compare type, hash, and which.

setuid, setgid, and the Sticky Bit Explained
Understand the setuid, setgid, and sticky bit special permissions in Linux: what each one does on files and directories, how to set them, and the security risks.

curl vs wget: Differences and When to Use Each
Compare curl vs wget defaults, protocols, redirects, recursive downloads, API requests, and resume options to choose the right command for each task.

at Command in Linux: Schedule One-Time Tasks
The at command schedules one-time tasks to run at a specific time in Linux. This guide covers syntax, time formats, batch jobs, listing and removing jobs, and user restrictions.

Bash Subshells: Isolate Variables and Directory Changes
Bash subshells run commands in an isolated shell environment. This guide explains parentheses, variable scope, directory changes, command substitution, pipelines, and exit codes.

hostnamectl Command in Linux: Set and Query Hostname
Use hostnamectl to view and change the Linux hostname. Covers static, transient, and pretty names, system metadata, remote hosts, and common errors.

host Command in Linux: DNS Lookup
The host command is a simple DNS lookup tool. This guide covers forward and reverse lookups, querying specific record types, using a chosen name server, and reading the output.

pidof Command in Linux: Find Process IDs by Name
The pidof command finds the process ID (PID) of a running program by name. This guide explains how to use pidof, its options, and how to pair it with kill to manage processes.

Linux Pipes Explained: How to Use the | Operator
Linux pipes connect command output to another command's input. Learn the | operator, pipefail, stderr piping, xargs, named pipes, and process substitution.

Linux Time Command
This guide shows how to use the Linux time command to measure execution time, explains real/user/sys, and covers Bash, Zsh, and GNU time.

Uptime Command in Linux
The uptime command shows how long a Linux system has been running, the number of logged-in users, and the load averages for the last 1, 5, and 15 minutes.

npm Command: Install and Manage Node.js Packages
This npm command guide covers project setup, local and global package installs, npm ci, updates, dependency removal, scripts, and one-off package runs.

Fix "sudo: command not found" on Linux
How to fix the 'sudo: command not found' error on Linux by installing the sudo package, adding your user to the right group, and recovering from a broken PATH.

chgrp Command in Linux: Change File Group Ownership
The chgrp command changes the group ownership of files and directories in Linux. This guide covers syntax, recursive changes, symlink handling, and practical examples.

iptables Command in Linux: Manage Firewall Rules
Manage Linux firewall rules with iptables. This guide covers tables and chains, listing rules, allowing and blocking ports and IP addresses, setting default policies, and saving rules across reboots.

whois Command in Linux: Query Domain Registration Info
The whois command looks up domain registration, registrar, name server, expiry, IP allocation, and AS number details from Linux.
