Commands tagged perl (190)

What's this?

commandlinefu.com 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


Check These Out

get the latest version
to download latest version of "util", maybe insert a sort if they wont be shown in right order. curl lists all files on mirror, grep your util, tail -1 will gets the one lists on the bottom and get it with wget

Get absolut path to your bash-script
Another way of doing it that's a bit clearer. I'm a fan of readable code.

Convert CSV to JSON
Replace 'csv_file.csv' with your filename.

list files recursively by size

Create .pdf from .doc
sudo apt-get install wv tetex-extra ghostscript

remove files and directories with acces time older than a given date
touch a dummy file with the specified date, then use find with -anewer .

clear current line

Watch the progress of 'dd'
Pressing ctrl-t will display the progress

Generate random password
Generates password consisting of alphanumeric characters, defaults to 16 characters unless argument given.

Auto download Ubuntu 10.04 LTS with super fast zsync
Need to have rc iso pre-downloaded before running command.


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.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

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: