Search commandlinefu from the CLI

curl -sd q=Network |html2text -width 100
Sample Output
    * mtr
      mtr, better than traceroute and ping combined (92 votes, 5 comments)
    * sshfs name@server:/path/to/folder /path/to/mount/point
      Mount folder/filesystem through SSH (52 votes, 3 comments)
    * ssh -t reachable_host ssh unreachable_host
      SSH connection through host in the middle (33 votes, 0 comments)
    * lsof -i
      Watch Network Service Activity in Real-time (26 votes, 5 comments)
    * netstat -ant | awk '{print $NF}' | grep -v '[a-z]' | sort | uniq -c
      List the number and type of active network connections (17 votes, 3 comments)
    * tar -cj /backup | cstream -t 777k | ssh host 'tar -xj -C /backup'
      throttle bandwidth with cstream (13 votes, 6 comments)
    * tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'
      Get Cisco network information (12 votes, 1 comment)
    * ssh -f -N -L
      Connect to google talk through ssh by setting your IM client to use the localhost 5432 port (9
      votes, 1 comment)
    * nmap -A -p1-85,113,443,8080-8100 -T4 --min-hostgroup 50 --max-rtt-timeout 2000 --initial-rtt-
      timeout 300 --max-retries 3 --host-timeout 20m --max-scan-delay 1000 -oA wapscan
      Scan Network for Rogue APs. (7 votes, 2 comments)
    * mii-tool eth0
      Check if network cable is plugged in and working correctly (6 votes, 4 comments)

2009-07-09 00:57:28

What Others Think

You should try Shell Users' Revolutionary Front Rage Against the Web (surfraw): SURFRAW_text_browser=elinks SURFRAW_text_browser_args=-dump sr-t amazon Cuckoo ...
netizen · 540 weeks and 6 days ago
lynx --dump | sed -n 'G;/^References/,$d;p'
KevinM · 540 weeks and 5 days ago
I am showing you how to make search command line. Here are some simple steps which tell you to find easily command line so with the help of i make it for you. If you want to know something more then you also tell me about it.
Juanaarson · 1 week and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: