Twitter | Search | |
Unix tool tip
Tips on Unix utilities and related topics from .
3,945
Tweets
18
Following
82,536
Followers
Tweets
Unix tool tip 22h
sort -c doesn't sort but checks whether a file is sorted, reporting first exception if not sorted.
Reply Retweet Like
Unix tool tip Aug 6
If you only need to know the number of lines in a large file, wc -l is much faster than wc.
Reply Retweet Like
Unix tool tip Aug 5
Suppress file name when searching over multiple files: grep -h
Reply Retweet Like
Unix tool tip Aug 4
How to replace a character with a newline in Emacs: M-x replace-string RET ; RET C-q C-j.
Reply Retweet Like
Unix tool tip Aug 3
Generate your .bashrc PS1 prompt easily with a drag and drop interface
Reply Retweet Like
Unix tool tip Jul 31
Day of the year: date '+%j'
Reply Retweet Like
Unix tool tip Jul 30
Don't copy-paste from a website to a terminal
Reply Retweet Like
Unix tool tip Jul 29
The GNU version of date lets you do things like the following: date -d 'today + 90 days'
Reply Retweet Like
Unix tool tip Jul 28
GNU Coreutils Cheat Sheet by
Reply Retweet Like
Unix tool tip Jul 27
In bash, !?foo will repeat the most recent command that contained the string 'foo'.
Reply Retweet Like
Unix tool tip Jul 24
ls -X will group files by extension.
Reply Retweet Like
Unix tool tip Jul 23
Inside less, /foo will search for 'foo'.
Reply Retweet Like
Unix tool tip Jul 22
ASCII art diagrams Readable ASCII art that compiles to better-looking images
Reply Retweet Like
Unix tool tip Jul 22
In bash, ^foo^bar repeats the latest command, replacing the first instance of 'foo' with 'bar'.
Reply Retweet Like
Unix tool tip Jul 21
Emacs dired takes the same switches as ls. C-u C-x d will prompt for switches then open dired.
Reply Retweet Like
Unix tool tip Jul 20
Delete blank lines: awk NF
Reply Retweet Like
Unix tool tip Jul 17
Reply Retweet Like
Unix tool tip Jul 16
When giving numeric arguments to the find utility, + means greater than and - means less than. e.g. +7 means greater than 7.
Reply Retweet Like
Unix tool tip Jul 15
“Perl is a lamb in wolf’s clothing.” — Damian Conway
Reply Retweet Like
Unix tool tip Jul 15
Vim’s Arglist as a File-Centric Todo List
Reply Retweet Like