Linux Commands
Command references for core Linux tools, syntax, examples, and practical one-liners.
type Command in Linux: Show Command Type and Location
The type command shows whether a name is a shell builtin, alias, function, keyword, or executable file, and how the current shell resolves it.

How to Check Memory Usage in Linux
Step-by-step guide to checking RAM usage in Linux using free, top, /proc/meminfo, and ps_mem — with examples for megabytes, gigabytes, and per-process memory.

Linux ip Command with Examples
A practical guide to the Linux ip command: show and configure network interfaces, assign IP addresses, manage routes, and inspect the ARP table with real examples.

chown Command in Linux: Change File Ownership
Use the chown command in Linux to change file and directory ownership, including recursive changes, symbolic links, and practical ownership examples.

How to Create a systemd Service File in Linux
Create a systemd service file in Linux with step-by-step instructions for unit file structure, service types, restart policies, and service management with systemctl.

How to Create Users in Linux (useradd Command)
Learn how to create and add users in Linux with the useradd command, including home directories, passwords, groups, shells, UIDs, and other common account options.

last Command in Linux: Check Login History
Use the last command in Linux to check login history, filter sessions by user or date, and audit system access. Also covers lastb for failed logins and lastlog for per-user login records.

Linux Watch Command
Use the watch command in Linux to run commands at regular intervals and monitor output changes in the terminal. Includes interval, highlighting, pipes, and practical examples.

How to Remove (Delete) Files and Directories in Linux
Learn how to delete files and directories in Linux using the rm, rmdir, unlink, and shred commands, with examples for single files, wildcards, recursive removal, and safe deletion workflows.

xargs Command in Linux: Usage and Examples
The xargs command builds and executes commands from standard input. This guide covers the most useful xargs options with practical examples.

locate Command in Linux: Find Files Quickly
Search for files and directories by name using the locate command in Linux. Covers installation, database updates, pattern matching, and common options.

Listing Linux Services with systemctl
Use the systemctl command to list running, failed, and enabled Linux services. Includes filtering by state, checking status, and listing unit files.

How to Truncate Files in Linux: Empty Files Without Deleting
Empty a file without deleting it using shell redirection or the truncate command. Covers permissions, sudo workarounds, and truncating log files.

How to Use the Linux ftp Command to Transfer Files
Transfer files to and from a remote server using the Linux ftp command. Covers connections, downloads, uploads, passive mode, and binary transfers.

lsmod Command in Linux: List Kernel Modules
Display all currently loaded Linux kernel modules with lsmod. This guide covers output format, filtering, and related module management commands.

rename Command in Linux: Rename Multiple Files
Batch rename files in Linux with the rename command using Perl regular expressions. Includes syntax, examples, and tips for the Perl and C versions.

ss Command in Linux: Display Socket Statistics
The ss command displays socket statistics and open ports and is the modern replacement for netstat. This guide explains how to list TCP, UDP, and Unix sockets, filter by port and state, and identify which process owns a socket.

pgrep Command in Linux: Find and Filter Running Processes
The pgrep command finds running processes by regex pattern, user, terminal, or parent PID and prints matching PIDs. This guide covers exact matching, filtering options, and script-friendly exit checks.

unlink Command in Linux: Remove a Single File
The unlink command removes a single file by deleting its directory entry. This guide explains how to use unlink, how it differs from rm, and what to expect when removing files and symbolic links.

uniq Command in Linux: Remove and Count Duplicate Lines
The uniq command removes or counts duplicate adjacent lines in a file. This guide explains how to filter duplicates, count occurrences, and use uniq with sort in pipelines.
