Skip to content

Useful CLI utilities

Ursula Tooley edited this page Oct 4, 2019 · 2 revisions

tmux

Split your terminal, as well as preserve sessions

https://thoughtbot.com/blog/a-tmux-crash-course

TODO

vim

TODO

watch

Shows you the output of a command or file, and refreshes that view every few seconds

watch qstat

grep

Used to find strings inside text files

recursive: grep -r

case-insensitive: grep -i

lines that don't match: grep -v

TODO

wc

How many lines are in a file?

wc -l filename

Atom (text editor)

You can go to the Atom menu and install shell commands, which gives you a command atom. This is versatile in doing what you want, so you can type atom filename.txt to open a file.