Unix tool tip

6.2K posts

Unix tool tip banner
Unix tool tip

Unix tool tip

@UnixToolTip

Tips on Unix utilities and related topics from @JohnDCook.

Tham gia Ağustos 2011
19 Đang theo dõi83.4K Người theo dõi
Tweet ghim
Unix tool tip
Unix tool tip@UnixToolTip·
'The enjoyment of one's tools is an essential ingredient of successful work.' -- Donald E. Knuth
English
12
341
629
0
Unix tool tip
Unix tool tip@UnixToolTip·
A sed command can have no address, one address, or a pair of addresses separated by a comma.
English
0
0
8
1.7K
Unix tool tip
Unix tool tip@UnixToolTip·
Hexadecimal dump of a file: od -x <file>
English
1
0
12
2.1K
Unix tool tip
Unix tool tip@UnixToolTip·
As an address in sed, $ is the line number of the last line in a file.
English
0
0
9
1.8K
Unix tool tip
Unix tool tip@UnixToolTip·
Current UTC time: date -u
English
0
0
13
1.6K
Unix tool tip
Unix tool tip@UnixToolTip·
diff -e produces an ed program. ed is the ancestor of sed.
English
3
2
19
3.2K
Unix tool tip
Unix tool tip@UnixToolTip·
Addresses in sed specify which lines to act on. They can be line numbers or regular expressions.
English
0
1
6
1.6K
Unix tool tip
Unix tool tip@UnixToolTip·
In awk, records are split into fields by a separator. By default fields are separated by white space.
English
0
0
8
1.9K
Unix tool tip
Unix tool tip@UnixToolTip·
View a CSV file in Emacs, aligning columns: M-x csv-align-fields
English
0
0
15
1.9K
Unix tool tip đã retweet
Steve the Beaver
Steve the Beaver@beaversteever·
incredible that we built all this RAG and vector database stuff and it turns out that grep from 1973 works better than all that
English
182
363
8.6K
503K
Unix tool tip
Unix tool tip@UnixToolTip·
In Emacs, list lines matching a regular expression: M-x occur
English
0
0
10
2.3K
Unix tool tip
Unix tool tip@UnixToolTip·
Sort a file based on the 3rd field in each line: sort -k 3. Fields separated by white space by default. Change the default with -t.
English
0
0
11
1.7K