Linux command examples - Page 7
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 7 of 8.

bunzip2 Command in Linux: Decompress .bz2 Files
Restore bzip2-compressed files without losing the source copy by choosing the right bunzip2 pattern for .bz2 streams, tar.bz2 archives, stdin pipelines, batch restores, and common errors.

bzip2recover Command in Linux: Recover Damaged BZ2 Files
When a .bz2 file will not decompress, this workflow keeps the damaged source intact, splits recoverable blocks, tests each piece, and rebuilds usable text or tar data without...

dos2unix Command in Linux: Convert CRLF Line Endings
Fix Windows line endings without guessing: inspect CRLF files first, convert single or bulk text files safely, preserve timestamps when needed, and troubleshoot script or binary-skip surprises.

nohup Command in Linux: Run Commands After Logout
Learn when nohup is enough for detached shell jobs, how to redirect logs and save PIDs, and when tmux, screen, or systemd is the safer choice for interactive...

expr Command in Linux: Math, Strings, Regex, and Exit Status
Older shell scripts still use expr for small calculations and string checks; trace its spacing, quoting, regex, and exit-status rules before choosing Bash arithmetic, awk, grep, or printf...

arp Command in Linux: View and Manage ARP Cache
Local IPv4 neighbor problems are easier to pin down when you can read the ARP cache, compare legacy arp output with ip neigh, and remove stale mappings without...

wall Command in Linux: Broadcast Terminal Messages
Use the wall command to warn logged-in terminal users before maintenance, send group-specific notices, understand message permissions, and troubleshoot missing broadcasts without confusing wall with chat or desktop...

Check Java Version in Linux: Runtime, JDK, and JAVA_HOME
Java version checks matter when a JAR refuses to start, a build tool selects the wrong compiler, or a server has several JVMs installed. To check Java version...

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

Bash wait Command with Examples
The bash wait command solves a specific Linux scripting problem: a script can start work in the background, but it still needs a reliable point where those jobs...

cd Command: Change Directories in Linux
Changing directories in Linux is more predictable once you understand what the shell does with paths before cd runs. The cd command in Linux changes the current working...

Nmap Commands for Beginners: Simple Scanning Tips
Network checks go wrong fast when the target range is too broad or the scan type does not match the question. The core Nmap commands in Linux keep...