Tip #813 Monitor open TCP connections
The command below will monitor open TCP connections:Read more »
Tip #796 Find files by mime-type
Use this command to find files of a given mime-type. For example to find all PNG images in a directory or below:Read more »
- TAGS:
- find
Tip #787 Create a file of specific size
Recently I needed several files of certain sizes for testing the transfer speed between two machines. Files like this can easily be created with the dd command which lets you create an empty file of desired size.Read more »
- TAGS:
- dd
Tip #786 Combine multiple pdfs into one
To combine multiple pdfs into one, for printing purposes or distribution:Read more »
- TAGS:
- gs
Tip #785 Convert UTF-8 to WIN-1251
Function to convert UTF-8 to WIN-1251 charset.Read more »
- TAGS:
- iconv
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 #769 .. revisited
Tip 550 gives a script for a '..' command which will go up n directory levels, however the version there messes up your previous directory so "cd -" will not work. The version below fixes this problem:.. v1.1
Usage .. [n]
Go up n-levels.
i.e.: .. 3 will go up 3 levels
Read more »
Tip #768 Stream shell commands to Twitter
When I read the tip yesterday (Twitter from the terminal), I thought it would be fun to set something up to tweet all the commands I enter. After a bit of playing around I have come up with the following:First you'll need to create a script, it doesn't matter what you call it, just remember the name and path to it for later.
Read more »
Tip #767 Twitter from the terminal
I wrote a small script, I named it "tw" to update twitter from terminal: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