Linux Commands
Command references for core Linux tools, syntax, examples, and practical one-liners.
stat Command in Linux: Display File and Filesystem Information
The stat command displays detailed file and filesystem information in Linux, including size, permissions, inode number, and timestamps. This guide covers all major stat options with examples.

How to Create Groups in Linux: groupadd Command
This guide explains how to create groups in Linux using the groupadd command, including how to set a custom GID, create system groups, and manage group options.

touch Command in Linux: Create Files and Update Timestamps
The touch command creates empty files and updates file timestamps in Linux. This guide covers access time, modification time, custom timestamps, and reference file usage.

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.

which Command in Linux: Find Executable Locations
The which command locates executables by searching the directories in your PATH. This guide covers syntax, options, and how which compares to type, whereis, and command -v.

Rsync Command in Linux with Examples
Learn how to use the rsync command to sync files and directories locally and remotely. Covers common options, remote transfers, dry run, exclusions, and troubleshooting.

Linux patch Command: Apply Diff Files
The patch command applies diff files to original files in Linux. This guide covers basic usage, strip paths, dry run, backup, and reversing patches with examples.

Linux basename Command: Strip Directory and Suffix from File Names
The basename command strips the directory path and optional suffix from a file name. This guide covers all basename options with practical examples.

Linux uname Command: Print System Information
The uname command prints kernel name, version, architecture, and hostname. This guide covers all uname options with examples and practical scripting uses.

Timeout Command in Linux
The timeout command runs a specified command and terminates it after a given time limit. This guide covers syntax, signal handling, exit codes, and practical examples for scripts and pipelines.

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.

Rmmod Command in Linux
Learn how to use the rmmod command to remove kernel modules in Linux, including options, troubleshooting, and best practices.

Free Command in Linux
Learn how to use the Linux free command to check RAM and swap usage. Includes output explained, human-readable format, and useful options.

Diff Command in Linux
Learn how to use the diff command in Linux to compare files and directories. Covers unified/context formats, ignore case/whitespace, and common options.

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.

How to Clear (Flush) the DNS Cache on Windows, MacOS, and Linux
This article provides instructions on how to flush your DNS cache on different operating systems and web browsers.

Pidof Command in Linux
pidof is a command-line utility that allows you to find the process ID of a running program. It is a simple command that doesn’t have a lot of options. Typically you will invoke pidof only with the name of the program you are searching for.

Uptime Command in Linux
The uptime command gives you information about the current time, online users, how long your system has been up and running, and the system load average.
