Commands by arianna (0)

  • bash: commands not found

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

gzip compression with progress bar and remaining time displayed

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

list all file extensions in a directory
Just a little simplification.

resolving basic authentication problem(401) with wget
I have a server with a php requiring basic authentication, like this:

Get just the IP for a hostname

Exclude grep from your grepped output of ps (alias included in description)
Surround the first letter of what you are grepping with square brackets and you won't have to spawn a second instance of grep -v. You could also use an alias like this (albeit with sed): alias psgrep='ps aux | grep $(echo $1 | sed "s/^\(.\)/[\1]/g")'

How to check network connection from one interface
This command only check the network connection from given eth. This is very useful if you are using more then one interface in your server or laptop.

mysqlcheck --defaults-file=/etc/mysql/debian.cnf --auto-repair --all-databases

Sort installed rpms in alphabetic order with their size.

List processes sorted by CPU usage


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: