LFT is a zippy alternative to tracreoute, the old standby for pinning down latency and dropped connections. But while traceroute takes 20-30 seconds to determine all the hops in a path, LFT does the job in about a second.

Input

ian@home:~$ lft www.thoughtdeposit.net

Output

Tracing ……………T
TTL LFT trace to 63.76.232.167:80/tcp
1 192.168.0.30 20.2ms
2 37.125.55.1 40.3ms
3 12.161.11.1 20.2ms
4 12.119.243.101 20.1ms
5 gbr2-p30.dtrmi.ip.att.net (12.123.208.62) 20.1ms
6 tbr2-cl18.cgcil.ip.att.net (12.122.10.134) 40.2ms
7 ggr1-p3100.chail.ip.att.net (12.123.4.17) 20.2ms
8 p2-2.ir1.chicago2-il.us.xo.net (206.111.2.121) 20.1ms
9 p5-0-0.rar2.chicago-il.us.xo.net (65.106.6.137) 40.2ms
10 p4-0-0.mar2.marylandheights-mo.us.xo.net (65.106.6.162) 40.2ms
11 p15-0.chr1.marylandheights-mo.us.xo.net (207.88.84.78 ) 40.2ms
12 66.236.121.50.ptr.us.xo.net (66.236.121.50) 40.2ms
13 host162.datotel.com (63.97.187.162) 40.2ms
14 [target] 63.76.232.167:80 40.2ms

Source, Debian package, and OSX Installer are all available.

Link

Technorati Tags: , , , , , , ,

If you need to figure out what a unix program does fast, whatis can tell you.

ian@thoughtdeposit.net:~$ whatis rsync
rsync (1) - faster, flexible replacement for rcp

Whatis simply sucks out the program’s man page description field, and barfs it onto the screen.

Technorati Tags: ,

You know you have spent too much time in unix when you use a unix command to remind you it’s time to step away from the terminal, and go feed the dog. Leave does just that.

leave +0115

This will remind you an hour and fifteen minutes from now to leave your command prompt. If you stay put, it will keep pestering you until you go nuts.

(Depending on your distro, leave may not be standard. In Debian, apt-get install leave will get it installed for you)

I’m talking in terms of keystrokes, and you don’t know the PID.

pgrep fooapp | xargs kill - 9

That’s twenty-three characters, including whitespace, excluding the process name. What’s quicker?

Yea, you read that right. Three commands and you can run a pen-test on your website/webserver. So, how?

kelvin@home:~$ sudo apt-get install nikto
kelvin@home:~$ sudo nikto -update
kelvin@home:~$ nikto -h www.thoughtdeposit.net

As you can see, Nikto is a web server scanner, apparently for over 3200 dangerous files/vulnerabilities. Additional features can be seen at the Nikto website, yet you will certainly want to add this old gem to your webserver toolbelt as soon as possible.

I’ll admit, I think one of the thickest barriers to entry regarding Linux is variety. I love variety, but general end users don’t adjust well to change (IMHO). Thus enter the stage: Portland. So, what does this mean to the end user? This means that, eventually, the UI throughout linux will all look similar — regardless if it is designed to utilize GTK, QT or anything else (that is, if it is built off the Portland standard).

Sweeeet.

And as a runner-up, worth mentioning, the user driven Tango Desktop Project

One command, instant leech:

$ wget -m http://www.thoughtdeposit.net
$ ls -l
$ drwxr-xr-x 25 ian ian 4096 Oct 09 03:53 www.thoughtdeposit.net

You can even use the –convertlinks switch to make the site browsable locally, and preserve style sheet linking.