computer
Linux Commands
Detailed searchable Linux command reference with syntax, examples, administration, networking, Bash, security and troubleshooting.
REFERENCE Β· 38 ITEMS
Linux Commands
Linux command reference from navigation to administration, networking, security and Bash.
38 items across 4 sections
COMPLETE COURSE
Linux Commands β Learning Path
Start with the concept, study each lesson, copy and adapt the example, complete the practice task, then use the troubleshooting and safety notes before moving forward.
Module 01 β Navigation
What you learn: pwd, ls, cd, mkdir, touch, cp, mv, rm.
Module 02 β Text/search
What you learn: cat, less, head, tail, grep, find, sort, uniq, sed, awk.
Module 03 β Admin
What you learn: chmod, chown, id, ps, top, kill, apt, dnf, pacman, systemctl, journalctl.
Module 04 β Network/automation
What you learn: ip, ping, ss, curl, ssh, scp, tar, bash, cron.
SECTION
Navigation
pwd, ls, cd, mkdir, touch, cp, mv, rm
pwd
Linux command pwd: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check pwd --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study pwd in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pwdls
Linux command ls: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ls --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ls in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ls -lacd
Linux command cd: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check cd --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study cd in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
cd ~/Documentsmkdir
Linux command mkdir: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check mkdir --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study mkdir in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
mkdir new-foldertouch
Linux command touch: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check touch --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study touch in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
touch notes.txtcp
Linux command cp: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check cp --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study cp in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
cp source.txt backup.txtmv
Linux command mv: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check mv --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study mv in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
mv old.txt archive/rm
Linux command rm: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check rm --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study rm in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
rm -i file.txtSECTION
Text/search
cat, less, head, tail, grep, find, sort, uniq, sed, awk
cat
Linux command cat: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check cat --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study cat in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
cat notes.txtless
Linux command less: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check less --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study less in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
lesshead
Linux command head: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check head --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study head in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
headtail
Linux command tail: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check tail --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study tail in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
tailgrep
Linux command grep: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check grep --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study grep in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
grep -n "error" app.logfind
Linux command find: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check find --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study find in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
find . -name "*.txt"sort
Linux command sort: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check sort --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study sort in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
sortuniq
Linux command uniq: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check uniq --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study uniq in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
uniqsed
Linux command sed: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check sed --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study sed in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
sedawk
Linux command awk: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check awk --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study awk in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
awkSECTION
Admin
chmod, chown, id, ps, top, kill, apt, dnf, pacman, systemctl, journalctl
chmod
Linux command chmod: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check chmod --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study chmod in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
chmod 755 script.shchown
Linux command chown: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check chown --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study chown in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
chownid
Linux command id: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check id --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study id in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
idps
Linux command ps: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ps --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ps in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ps auxtop
Linux command top: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check top --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study top in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
topkill
Linux command kill: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check kill --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study kill in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
kill PIDapt
Linux command apt: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check apt --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study apt in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
sudo apt updatednf
Linux command dnf: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check dnf --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study dnf in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
dnfpacman
Linux command pacman: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check pacman --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study pacman in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pacmansystemctl
Linux command systemctl: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check systemctl --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study systemctl in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
systemctljournalctl
Linux command journalctl: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check journalctl --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study journalctl in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
journalctlSECTION
Network/automation
ip, ping, ss, curl, ssh, scp, tar, bash, cron
ip
Linux command ip: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ip --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ip in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ip addrping
Linux command ping: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ping --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ping in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ping -c 4 example.comss
Linux command ss: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ss --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ss in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
sscurl
Linux command curl: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check curl --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study curl in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
curl -I https://example.comssh
Linux command ssh: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ssh --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study ssh in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ssh user@hostscp
Linux command scp: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check scp --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study scp in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
scptar
Linux command tar: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check tar --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study tar in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
tar -czf backup.tar.gz folder/bash
Linux command bash: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check bash --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study bash in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
bash script.shcron
Linux command cron: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check cron --help for supported options. Linux Commands: learn command grammar, options, arguments, stdin/stdout/stderr, pipes, redirection, exit codes and safe composition. Prefer inspection before mutation. Study cron in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
cron