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

ssh Command in Linux with Examples
Remote administration depends on SSH because login sessions, one-off commands, and encrypted tunnels all travel through the same client without exposing plaintext credentials. The ssh command in Linux...

du Command in Linux (With Examples)
When a filesystem starts filling up, the du command in Linux tells you which directories and files are actually consuming space. It is useful for checking log growth,...

split Command in Linux with Examples
Large logs, database exports, and backup archives get easier to move or process when you can cut them into predictable pieces without changing the original data. The split...

setfacl Command in Linux: ACL Permissions Examples
Shared directories get awkward when owner, group, and other permission bits are too blunt. The setfacl command in Linux lets you grant a specific user or group access...

nslookup Command in Linux with Examples
When a domain points to the wrong address or email delivery starts failing, the nslookup command in Linux gives you a fast way to ask DNS what it...

mkdir Command in Linux with Examples
Directory setup gets repetitive fast when projects, logs, uploads, and backups all need predictable paths. The mkdir command in Linux creates those directories from the shell, whether you...

rmdir Command in Linux (With Examples)
Empty directories often survive builds, downloads, archives, and cleanup scripts. The rmdir command in Linux removes only empty directories, so it gives you a safer first pass before...

How to Use find -exec in Linux (With Examples)
The hard part of find -exec is not finding files; it is making sure the action runs on the right matches, handles odd filenames, and does not touch...

chmod Command in Linux with Examples
Permission mistakes can quietly break deployments or expose private files, which is why the chmod command in Linux is worth understanding before you copy a recursive fix from...

grep Command in Linux with Examples
Logs, configuration files, and command output get noisy fast; the grep command in Linux cuts them down to the lines that match a word, phrase, or regular expression....

which Command in Linux with Examples
PATH problems usually look simple until two copies of the same tool exist on one system. The which command in Linux shows the executable path your current $PATH...

bzless Command in Linux: View .bz2 Files Without Extracting
Compressed log reviews are safer when bzless stays in the pager lane: open .bz2 text, search inside the file, use bzcat for clean pipelines, and test suspect streams...