Unix tool tip
@UnixToolTip
Followers
84K
Following
98
Media
196
Statuses
6K
Tips on Unix utilities and related topics from @JohnDCook.
Joined August 2011
'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth
13
342
629
Can install GNU versions of Unix utilities on Mac with homebrew: brew install coreutils
1
0
7
The ed line editor: bravado, utility, and history
johndcook.com
Is using the ed line editor a way to show technical machismo, a practical way to get work done, or a historical curiosity. It's all three.
0
1
13
We're partnering with @doodles to host an art challenge ( • -) • Doopies can smush together into objects as a way of avoiding danger or predators - make something made out of doopies for a chance to win! details ↓
63
190
660
List only subdirectories of the current directory: ls -d */
1
0
10
Avoiding multiprocessing errors in bash shell
johndcook.com
Errors are easy to make when programming multiple concurrent processes or threads. Using atomic operations and well-formed locks can help to avoid such errors.
0
0
8
Shell scripts run in their own subshell, so a cd in a script only effects the subshell. To script a cd, use an alias instead.
2
1
10
Mastering the Vim language https://t.co/B78Ct2t2qn by @christoomey
0
0
17
Summarizing Emacs cursor movement commands
johndcook.com
Summary of the ways to move the point (cursor) in Emacs
1
1
4
bash lets you use &> to send stdout and stderr to a file. Version 4 or later.
0
1
2
GNU parallel is a shell tool for executing jobs in parallel using one or more computers.
0
1
16
'If you had done something twice, you are likely to do it again.' -- Brian Kernighan and Rob Pike
0
0
11
Sort and remove duplicates in large files
johndcook.com
Sorting lines and remove duplicates at the same time is more efficient than doing the tasks sequentially.
2
1
19
Using git, add and commit all modified files in one command: git commit -a -m 'commit message'
1
1
10
Rename foo.old to https://t.co/P0mRHwx6Yf: mv foo.{old,new}
1
0
12
'Gow (Gnu On Windows) is the lightweight alternative to Cygwin,'
github.com
Unix command line utilities installer for Windows. - bmatzelle/gow
0
1
15