Tip #824 List only the files that have been updated today.
Use this command to list files that have been updated today in the current directory.Read more »
Tip #818 Print first line of every paragraph
The awk command below will print out the first line of each paragraph in a file. Paragraphs must be separated by a blank line for this to work.Read more »
- TAGS:
- awk
Tip #816 Graph connections to hosts
The command below will print a ascii art graph of connections from you are making to different hostsRead more »
Tip #770 Append a sequential number to a file
The command below will append a number to a file to count events, minutes, actions etc.Read more »
- TAGS:
- awk
Tip #742 Sort the lines of a file by length
The command below can be used to sort the lines of a file by ascending order (shortest first). Change 'sort -n' to 'sort -nr' to sort in descending order (longest first).Read more »
Tip #741 Find the longest line in a file
This is how we can find the length of the longest line in a file.Read more »
- TAGS:
- awk
Tip #672 Concatenate pairs of lines
The following command will concatenate pairs of lines from a file, with a comma separating each line.Read more »
- TAGS:
- awk
Tip #562 Version all unversioned files in an SVN checkout
Sometimes, you want to add a lot of files to SVN from the command line. This simple command will find all unversioned files in an SVN checkout and adds them to SVN versioning.Read more »
Tip #558 Being selfish - Kick all users except you
Kick all users other than you from your box and keep them out.Read more »
Tip #551 My code is compiling
Simulate a never-ending compilation so you have an excuse for why you're browsing the net (see http://xkcd.com/303/):Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs