Linux command examples - Page 5
Find practical command examples with flags, expected output, common mistakes, and safer ways to run everyday shell workflows.
Curated guides
Linux command guides
80 matched guides, best match first. Page 5 of 7.

df Command in Linux With Examples
Disk-full alerts are easier to handle when you can separate filesystem capacity from directory growth. The df command in Linux reports used space, available space, mount points, filesystem...

chown Command in Linux with Examples
Ownership problems can make a file look correctly permissioned while the wrong account still controls it. The chown command in Linux changes the user and group attached to...

cat Command in Linux With Examples
Small text files are fastest to inspect when you can read them without opening an editor, but cat is more than a quick viewer. The cat command in...

awk Command in Linux With Examples
Delimited text becomes easier to work with when each column, line range, or repeated value can be tested directly. The awk command in Linux reads input record by...

bzdiff Command in Linux with Examples
Comparing old log snapshots or configuration exports gets awkward when the files are still compressed with bzip2. The bzdiff command in Linux compares the decompressed content of .bz2...

bg Command in Linux with Examples
A stopped terminal job does not need to block your shell forever. The bg command in Linux resumes a suspended job in the background, which is useful when...

firewall-cmd Command Examples for Firewalld
The firewall-cmd command is where Firewalld becomes practical: zones decide where traffic policy applies, services and ports decide what a zone allows, and the runtime versus permanent split...

source Command in Linux: Usage and Examples
Shell setup files only change your current terminal when the shell reads them in the current process. The source command in Linux is the Bash-friendly way to load...

sed Command in Linux with Examples
The sed command in Linux turns repetitive text edits into repeatable terminal commands. It reads files or pipeline input line by line, applies the editing rules you provide,...

Batch Command in Linux with Examples
Long maintenance jobs do not always need a clock time; sometimes they just need a quieter system. The batch command in Linux queues shell commands for atd and...

curl command in Linux with Examples
When you need to test an endpoint, download a release asset, or send a quick API request without opening a browser, the curl command in Linux gives you...

ifup Command in Linux with Examples
A network card can appear in ip link and still fail when an old runbook says to use ifup eth0. The ifup command in Linux only works when...