
'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth

Tips on Unix utilities and related topics from @JohnDCook.

'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth

'Don't ever, ever plan a backup strategy. Plan a restore strategy.' -- Paul Randal

Moving a file to , instead of . can cause a great deal of confusion. Ask me how I know. :)

Combine multiple consecutive blank lines into one: cat -s


New post: Peeking inside the bash rabbit hole johndcook.com/blog/2026/11/1…

Evil Mode: Or, How I Learned to Stop Worrying and Love Emacs youtu.be/JWD1Fpdd4Pc

If you don’t know what version of Unix a shell is running, try typing uname.

Bash pitfalls mywiki.wooledge.org/BashPitf…


diff3 compares three files line by line.

Error handling in bash scripts jtrocinski.com/posts/Bash-Er…

chmod +x marks a file as executable


