Commands tagged sed (376)

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

Perl One Liner to Generate a Random IP Address

launch bash without using any letters
ry4an@four:~$ echo $SHLVL 1 ry4an@four:~$ ${0/-/} ry4an@four:~$ echo $SHLVL 2

wget with resume
I couldn't find this on the site and it's a useful switch. Great for large files.

List your MACs address
List all MAC addresses on a Linux box. sort -u is useful when having virtual interfaces.

Count number of files in a directory
Just want to post a Perl alternative. Does not count hidden files ('.' ones).

rename a file to its md5sum

Enter a command but keep it out of the history
Put a space in front of your command on the command line and it will not be logged as part of your command line history.

convert a latex source file (.tex) into opendocument (.odt ) format
require the tex4ht package . You can open the file with openoffice , I use it much for correct my spelling and grammar .

Resolve a list of domain names to IP addresses
Given a file of FQDN, this simple command resolves the IP addresses of those Useful for log files or anything else that outputs domain names.

generate iso


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: