Commands tagged broken links (3)

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

Count accesses per domain
count the times a domain appears on a file which lines are URLs in the form http://domain/resource.

Get My Public IP Address

vi - Change only whole words exactly matching 'http' to 'git'; ask for confirmation.
http://vim.wikia.com/wiki/Search_and_replace github anda limando feo ....: https://groups.google.com/forum/?fromgroups#!topic/symfony2/YL1mo_cz4Ms

Find and delete oldest file of specific types in directory tree
This works on my ubuntu/debian machines. I suspect other distros need some tweaking of sort and cut. I am sure someone could provide a shorter/faster version.

execute a command in case of success or execute a command in case of failure

grep certain file types recursively

Change display resolution
-s must be a valid resolution. You can get a list of valid (and supported) resolutions via `xrandr`.

Send an email from the terminal when job finishes
Might as well include the status code it exited with so you know right away if it failed or not.

Add a GPL license file to your project

convert flac to mp3
if you haven't already done so, install lame and flac: sudo apt-get install lame flac


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: