8 ms·
Show HN: Commandlinefu.com from the commmandline
- mise 15y agoReally cool, well done. For others who have not seen commandlinefu.com, it's a collection of interesting commandline commands. I like the Twitter feeds on their site http://www.commandlinefu.com/ http://www.commandlinefu.com/ . For example, you can subscribe to the feed http://twitter.com/commandlinefu10 http://twitter.com/commandlinefu10 which posts a command if it gets at least 10 upvotes.
- sequoia 15y ago> For others who have not seen commandlinefu.com, it's a collection of interesting commandline commands. ooohh thank you. Without that context I was wondering what the heck this tool was supposed to do.
- jhsu 15y agoGreat stuff on commandlinefu. Thanks for the really helpful tool to find the info where you want to use it.
- revorad 15y agoThis is utter genius. Thank you so much. When I try the fu 1 command, I get an invalid index number error.
- samirahmed 15y agoPlease see https://github.com/samirahmed/fu/issues/1 https://github.com/samirahmed/fu/issues/1 I have outlined a set of possible problems/fixes!
- makmanalp 15y agoThis is awesome, but I keep getting this when I try to copy to clipboard: mehmet@cake:~/fu$ fu query wiki 1 # Query Wikipedia via console over DNS dig +short txt <keyword>.wp.dg.cx 2 # Query Wikipedia via console over DNS mwiki () { blah=`echo $@ | sed -e 's/ /_/g'`; dig +short txt $blah.wp.dg.cx; } 3 # Query Wikipedia via console over DNS mwiki() { dig +short txt "$*".wp.dg.cx; } 488ms total:6 mehmet@cake:~/fu$ fu 1 fu: Error invalid index number!
- Psyonic 15y agoIt's fu -c 1
- Karunamon 15y agoAmazing tool (definitely one of those "Why the heck didnt I think of that?!" things) and an amazing site too. Commandlinefu should be in everyone's bookmarks.
- grisha 15y agoCool stuff. I am curious how hard it would be to implement something like fu -e #, so you can just pass desired arguments, instead of manually tweaking command from clipboard.
- samirahmed 15y agonot sure what you mean here? -e would execute the command ? or would alter/edit the command?
- grisha 15y agoexecute command.
- novakinblood 15y agoSorry to be picky, but there's a typo on the site. The author of the site wrote "harverst" instead of "harvest" in the second sentence after "Overview". It kind of sticks out to me.
- pkrumins 15y agoAlso see this article series of mine called 'Top 10 One-Liners From CommandLineFu Explained'. Top one-liners 1-10: http://www.catonmat.net/blog/top-ten-one-liners-from-commandlinefu-explained/ http://www.catonmat.net/blog/top-ten-one-liners-from-command... Top one-liners 11-20: http://www.catonmat.net/blog/the-next-ten-one-liners-from-commandlinefu-explained/ http://www.catonmat.net/blog/the-next-ten-one-liners-from-co... Top one-liners 21-30: http://www.catonmat.net/blog/another-ten-one-liners-from-commandlinefu-explained/ http://www.catonmat.net/blog/another-ten-one-liners-from-com... Top one-liners 31-40: http://www.catonmat.net/blog/yet-another-ten-one-liners-from-commandlinefu-explained/ http://www.catonmat.net/blog/yet-another-ten-one-liners-from...
- daenz 15y agoGreat job! It has already proven itself to me: I was doing a diff on an svn repo. Unfortunately, svn diffs are not in color, and being spoiled by git's color diffs, I looked at "svn help diff", but found no color option. A quick "fu color svn" yielded: 1 # Paged, colored svn diff svn diff $* | colordiff | less -r Awesome :)
- le_isms 15y agoVery cool. I would love to see some verification. If you're using one of the commands from commandlinefu, you probably didn't know about it beforehand, and who knows what it could do. edit: Commandlinefu.com -does- have a point system that could help determine valididy, it would be great if the points could be retrieved by Fu, and if you could rate up and down within Fu. Still, doesn't help if a code is ranked 0.
- samirahmed 15y agoThe '-v' flag enables will give you a verbose output that shows you the votes. The '-o' flag will take you to the comments page of the command so that you can read other users inputs. These are in place to help you make a more educated decision
- s_kunk 15y agoCool ! I thought it would be an opportunity to share mine too :) I made it few weeks ago and didn't release since yesterday. Enjoy commandlinefffffffuuuuuuuuuuuu: https://github.com/skunk/commandlinef7u12 https://github.com/skunk/commandlinef7u12