Commands by JosephKnight (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

Display the size of all your home's directories
Display the size (human reading) of all the directories in your home path (~).

Find the package that installed a command

Search manpages for a keyword
Search manpages for a keyword. Very useful when you don't know where to find the information.

Alternative size (human readable) of files and directories (biggest last)
using mb it's still readable;) a symbol variation $ du -ms {,.[^.]}* | sort -nk1

Shows cpu load in percent
This version is precise and requires one second to collect statistics. Check sample output for a more generic version and also a remote computer invocation variant. It doesn't work with the busybox version of the 'top' command but can be adjusted

List files accessed by a command
Can be run as a script `ftrace` if my_command is substrituted with "[email protected]" It is useful when running a command that fails and you have the feeling it is accessing a file you are not aware of.

Make directory including intermediate directories
This will create the intermediate directories that do not exist. I did not know about this for a long time.

Find usb device in realtime
Using this command you can track a moment when usb device was attached.

Display unique values of a column
the column number is '6'

Download and install the newest dropbox beta


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: