Save the Top 2500 commands from commandlinefu to a single text file

curl[0-2500:25] | grep -v _curl_ > comfu.txt

By: Neo23x0
2010-04-01 08:46:20

What Others Think

Great ! I would like to cron it, but I don't want to kill commandlinefu website... commandlinefu should make such a txt file available somewhere on the site and updated. No?
dooblem · 599 weeks and 1 day ago
I don't get it, what is "[0-2500:25]" for? ":25"?
brubaker · 599 weeks ago
"[0-2500:25]" for? ":25"? means 0 to 2500 step 25 So with that said. buddy's command above will only ever get the first steps of 25 and because he only single > would never get more then 1 page. the real command should have been curl[0-2500:1] | grep -v _curl_ >> ~/path/to/store/ enjoy!
BBL · 597 weeks and 1 day ago
and to make it usable try: curl[0-2500:1] | grep -v _curl_ >> /tmp/clfu.t && cat /tmp/clfu.t |uniq > ~/Desktop/commandlinefu.aprx.64184.cmds.txt && rm /tmp/clfu.t
BBL · 597 weeks and 1 day 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: