Linux command examples - Page 3
Use this path when you know the task but need the right command shape: flags, examples, expected output, common mistakes, and safer ways to run everyday shell workflows.
Curated guides
Linux command guides
87 matched guides, newest first. Page 3 of 8.

wc Command in Linux: Count Lines, Words, and Bytes
Count text without guessing: the wc command guide explains how lines, words, bytes, characters, pipelines, NUL-safe file lists, totals, and newline edge cases behave in real shell workflows.

head Command in Linux: Preview Files and Pipelines
Use head to inspect the first lines or bytes of files and command output, compare Coreutils-style behavior with BusyBox limits, preview CSV and log data, and fix common...

sleep Command in Linux With Examples
Fixed delays are useful when a script needs deliberate pacing, not when it needs to know whether work has finished. The sleep command in Linux pauses the current...

scp Command in Linux with Examples
File transfers over SSH get confusing when the login works but the source and destination sides are easy to mix up. The scp command in Linux copies files...

rm Command in Linux with Examples
Deleting from a terminal is fast, but it also bypasses the desktop trash workflow that protects many graphical file managers. The rm command in Linux removes directory entries...

pwd Command in Linux with Examples
Directory-sensitive commands become risky when you assume the shell is somewhere it is not. The pwd command in Linux prints the current working directory, making it a useful...

ps Command in Linux With Examples
Process problems are easier to handle when you can freeze the current state before restarting a service or killing a PID. The ps command in Linux reports a...

nmcli Command in Linux With Examples
Network fixes get risky when interface state, saved profiles, DNS, routes, and Wi-Fi settings are treated as one layer. The nmcli command in Linux gives NetworkManager a terminal...

ls Command in Linux With Examples
Directory listings become more useful once you know which question ls is answering: names, hidden entries, long-format metadata, sort order, or the contents of a directory path. The...

less Command in Linux with Examples
Large log files and noisy command output are easier to inspect when the terminal becomes a pager instead of a flood. The less command in Linux opens files,...

kill Command in Linux With Examples
A stuck process is easier to handle when you send the right signal instead of reaching straight for a force kill. The kill command in Linux sends signals...

journalctl Command in Linux With Examples
Service failures are easier to diagnose when you can query the systemd journal by boot, unit, priority, time window, and message text instead of opening several log files...