cat without comments
Change your Desktop background/wallpaper with feh lightweight command. fill background directory with appropriate content.
Well, this is quite useful for testing if your hardware watchdog is working properly.
Output should be two JPG files named like "output-1.jpg" and "output-2.jpg". The convert command is part of ImageMagick so you'll need that and dependent packages installed to use it.
This is especially useful for adding changes to a temporary repo, such as a Gist. Avoid using this when collaborating with others.
I'm the author of PM2 and wrote this tool, and I'm please to share it here. Github project link: https://github.com/Unitech/pm2 Show Sample Output
Change bitrate with option '-b'
Order and uniq
The example uses hashicorps packer as the sample file, but any .zip file which only contains a single file will work. Show Sample Output
Python is installed on many boxes (in case you could not afford installing jq).
Handy use of bc in the command line. No need to get 'into' the bc to perform calculations Show Sample Output
List packages and their disk usage in decreasing order. This uses the "Installed-Size" from the package metadata. It may differ from the actual used space, because e.g. data files (think of databases) or log files may take additional space. Show Sample Output
Just an other solution :)
My first command :) I made this command to log public addresses of a virtual interface who connects random VPN servers around the world. Show Sample Output
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.
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
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: