Check These Out
You have to do that before :
$ cd ~/.mozilla/firefox/
Require bash. If you use something else, you may use
$ echo | python
Forked from ArkSeth python script.
Only the number of calls nothing else.
Will redirect output of current session to another terminal, e.g. /dev/pts/3
Courtesy of bassu, http://www.commandlinefu.com/commands/by/bassu
Yeah I know it's been up here a million times, but this service is a really clean and nice one. Nothing but your IP address on it. Actually I was to write something like this, and noticed this on appspot... ;)
Comcast is an ISP in the United States that has started hijacking DNS requests as a "service" for its customers. For example, in Firefox, one used to be able to do a quick "I'm Feeling Lucky" Google search by typing a single word into the URL field, assuming the word is not an existing domain when surrounded by www.*.com. Comcast customers never receive the correct NX (non-existent domain) error from DNS. Instead, they are shown a page full of advertising. There is a way to "opt out" from their service, but that requires having the account password and the MAC address of your modem handy. For me, it was easier just to set static DNS servers. But the problem is, which ones to choose? That's what this command answers. It'll show you the three _non-hijacked_ Comcast DNS servers that are the shortest distance away.
Perhaps you don't have Comcast (lucky you!), but hopefully this command can serve as an example of using netselect to find the fastest server from a list. Note that, although this example doesn't show it, netselect will actually perform the uniq and DNS resolution for you.
Requires: netselect, curl, sort, uniq, grep
enable each bash completion that you have installed at your system, that's very nice ;)
$_ expands to the last argument of the last command that was executed
In this case searches for where .desktop files are stored. The resulted is a sorted list of the top directories containing such files.
Sort netflow packet capture by unique connections excluding source port.