dir
ls -a
where [whatever]
which [whatever]
whereis [whatever]
mdfind [whatever]
curl -s IP_ADDRESS:PORT >/dev/null && echo Success. || echo Fail.
gst
glog
tab, tab
| # this is a pipe
> # this is a redirect
cp SOURCE TARGET # you can't chain to cp though.
mv SOURCE TARGET # moves (or renames!)
WHATEVER | grep KEYWORD OR PHRASE
# e.g:
ls -a | grep .md # list all markdown files in a folder.
diff -s file1 file2
# Confirmation when same + ignoring whitespace + comparing recursively / entire folders + side-by-side view:
diff -swry file1 file2
bind 'set completion-ignore-case on'