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
87 matched guides, best match first. Page 5 of 8.

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...

Unzip a Directory in Linux: 10 Example Commands
Zip archives still show up everywhere, from project downloads and backups to file bundles shared across Windows and Linux systems. To unzip to another directory in Linux, use...

printf Command in Linux with Examples
Shell output gets messy once a script needs aligned columns, padded counters, literal percent signs, or data with embedded escape sequences. The printf command in Linux gives you...

whereis Command in Linux with Examples
When a command exists in more than one place, or its documentation seems missing, the whereis command in Linux gives you a quick inventory of the binary, source,...

read Command in Linux with Examples
Interactive shell scripts need a clean way to pause, collect an answer, and reuse that value in the next command. The read command in Linux handles that job...

ifconfig Command in Linux with Examples
Legacy network notes still tell admins to run the ifconfig command in Linux, especially on older servers, embedded images, and scripts written before iproute2 became standard. ifconfig reads...

wget Command in Linux with Examples
Large downloads, flaky SSH sessions, and offline documentation mirrors are where the wget command earns its keep. It retrieves files over HTTP, HTTPS, FTP, and FTPS without a...

tail Command in Linux with Examples
Large logs are awkward to open in an editor when the only lines you care about are the newest ones. The tail command in Linux solves that problem...