Unix tool tip (@UnixToolTip) header
Unix tool tip (@UnixToolTip) profile picture

Tips on Unix utilities and related topics from @JohnDCook.

Joined August 2011
Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)Photo by Unix tool tip (@UnixToolTip)
'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth
12
330
14
623
'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth
1
11
62
2,590
Make directories more than one level deep in one command: mkdir -p foo/bar
1
2
16
2,744
In bash, !^ expands to 2nd word of previous command.
1
1
27
2,674
'Don't ever, ever plan a backup strategy. Plan a restore strategy.' -- Paul Randal
5
5
54
2,803
Moving a file to , instead of . can cause a great deal of confusion. Ask me how I know. :)
1
19
2,682
Combine multiple consecutive blank lines into one: cat -s
8
2,640
If you don’t know what version of Unix a shell is running, try typing uname.
1
13
2,733
diff3 compares three files line by line.
1
27
2,754
Error handling in bash scripts jtrocinski.com/posts/Bash-Er…
1
2
35
3,169
chmod +x marks a file as executable
4
2
1
33
3,060
Shellcheck finds bugs in shell scripts shellcheck.net/
4
1
29
2,812