
This is a page from an upcoming zine called "The Secret Rules of the Terminal".
To get an email when the zine comes out, sign up for the zine announcements list!

read the transcript!
basic file stuff
touch
- create filemkdir
- create directorycp
- copymv
- moverm
- deleteln
- create symlinkls
- list directory
how big is it
wc
- word countdu
- file size in bytesdf
- filesystem usage
slice & dice files
sed
- replace regextr
- replace charactergrep
- search filecut
- get columnawk
- get column (+ more)sort
- sort linesuniq
- unique lineshead
- first 10 linestail
- last 10 lines
filesystems
mount
- mount a filesystemumount
- unmountdd
- copy data to a disk
manage processes
ps
- list processeslsof
- list open fileskill
- send a signalpkill
- fancykill
top
- who’s using CPU?uptime
- time since reboot
permissions
chown
- change ownerchmod
- change permissions
time stuff
time
- measure runtimedate
- current timesleep
- wait X secondscal
- cute calendar
useful with pipes
less
- scroll textcat
- print file contentstee
- stdin -> file + stdoutxargs
- run cmd for each linefind
- find files by name
compression
tar
- make/extract tar filesgzip
- compress with gzipgunzip
- decompresszip
- compress with zipunzip
- decompress
& more
which
- find cmd on PATHman
- read man pagecrontab
- edit crontabmd5sum
- calculate md5sumdiff
- diff files
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!
© Julia Evans 2024 | All rights reserved (see the FAQ for notes about licensing)