Check These Out
This command displays a clock on your terminal which updates the time every second. Press Ctrl-C to exit.
A couple of variants:
A little bit bigger text:
$ watch -t -n1 "date +%T|figlet -f big"
You can try other figlet fonts, too.
Big sideways characters:
$ watch -n 1 -t '/usr/games/banner -w 30 $(date +%M:%S)'
This requires a particular version of banner and a 40-line terminal or you can adjust the width ("30" here).
May be useful to get user's ip address over the phone, as users struggle to read through a long ipconfig result.
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
Trickle is a voluntary, cooperative bandwidth shaper. it works entirely in userland and is very easy to use.
The most simple application is to limit the bandwidth usage of programs.
Replace "foo" with "bar" in all files in current directory recursively
I find it useful, when cleaning up deleting unwanted files to make more space, to list in size order so I can delete the largest first.
Note that using "q" shows files with non-printing characters in name.
In this sample output (above), I found two copies of the same iso file both of which are immediate "delete candidates" for me.
This invokes tar on the remote machine and pipes the resulting tarfile over the network using ssh and is saved on the local machine. This is useful for making a one-off backup of a directory tree with zero storage overhead on the source. Variations on this include using compression on the source by using 'tar cfvp' or compression at the destination via
$ ssh user@host "cd dir; tar cfp - *" | gzip - > file.tar.gz
Try to perform a fully TCP 3 way handshake on for a given host-port with a timeout of 1s.