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

Monitor ElasticSearch cluster health - Useful for keeping an eye on ES when rebalancing takes place

Print random emoji in terminal
This will print a random emoji within the range of 1F600 - 1F64F, which includes all the face emoji. Obviously, this will only show something meaningful if your terminal can display emoji, but it may be useful in scripts. This likely requires recent versions of bash

Install pip with Proxy
Installs pip packages defining a proxy

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

Colorized JSON pretty printing
Uses pygmentize and python to create indented and colorized JSON output

SVN Clean
Removes all unversioned files and folders from an svn repository. Also: $ svn status --no-ignore | grep ^I | awk '{print $2}' | xargs rm -rf will remove those files which svn status ignores. Handy to add to a script which is in your path so you can run it from any repository (a la 'svn_clean.sh').

Nginx - print all optional modules before compilation
wget http://nginx.org/download/nginx-1.15.3.tar.gz && tar -xzf 1.15.3.tar.gz && cd nginx-1.15.3

Edit Camera Model in metadata:

Display the top ten running processes - sorted by memory usage

Calculate days on which Friday the 13th occurs (inspired from the work of the user justsomeguy)
Friday is the 5th day of the week, monday is the 1st. Output may be affected by locale.


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: