⚡
Browse

Essential Linux/Unix Terminal Commands

Master the core Linux and Unix shell commands and recall exactly what each one does.

Code40 items3 levelsDifficulty 2/5
Start training →

Free · no signup · works on any device

Levels

Start easy — harder levels unlock as you improve, or jump ahead anytime.

1
Basics
13 items
2
File & Text
12 items
3
System & Power Tools
15 items

All 40 cards

ls
→
list directory contents
cd
→
change directory
pwd
→
print working directory
mkdir
→
make directory
rmdir
→
remove empty directory
cp
→
copy files
mv
→
move or rename files
rm
→
remove files
touch
→
create empty file
cat
→
display file contents
echo
→
print text to output
clear
→
clear the terminal screen
man
→
show manual page
less
→
view file one screen at a time
head
→
show first lines of a file
tail
→
show last lines of a file
grep
→
search text using patterns
find
→
search for files
wc
→
count lines, words, and bytes
sort
→
sort lines of text
chmod
→
change file permissions
chown
→
change file owner
ln
→
create links between files
diff
→
compare files line by line
tar
→
archive files
ps
→
list running processes
top
→
show live process activity
kill
→
terminate a process
df
→
show disk space usage
du
→
show file space usage
sudo
→
run command as superuser
ssh
→
connect to remote server securely
scp
→
copy files over SSH
curl
→
transfer data from a URL
wget
→
download files from the web
awk
→
process and analyze text
sed
→
edit text in a stream
alias
→
create a command shortcut
history
→
show command history
ping
→
test network connectivity

Keep going

Useful Bash One-Liners

Learn what common Bash commands and one-liners actually do, in both directions.

Code32 items

Vim Commands and Motions

Learn what essential Vim commands and motions do, from basic movement to powerful editing.

Code42 items

Common Git Commands and What They Do

Learn the essential Git commands and the action each one performs.

Code30 items

Regular Expression Tokens and Their Meanings

Master what each common regular-expression token, anchor, and metacharacter matches.

Code37 items