Chronometer using the bc calculator. Show Sample Output
When booting a VM through OpenStack and managed through cloudinit, the hosts file gets to write a line simiar to 127.0.1.1 ns0.novalocal ns0 This command proven useful while installing a configuration manager such as Salt Stack (or Puppet, or Ansible) and getting node name
The command outputs the number of commits made to a git repository be leveraging the git-log git command and the wc command that ships with linux coreutil Show Sample Output
Brings ups fzf with a list of Applications, then opens the selection. Requires fzf: https://github.com/junegunn/fzf
Changelog: Changing ping to "ping -A -c1 -w10" - targeting a quick and reliable ping, even on slow networks.
Find and Convert all libre office files to PDF without libreoffice GUI Show Sample Output
Simple MAC adrress, thanks to ifconfig.
ifconfig is dead, long-live iproute2 this also uses only awk to do the grepping and removal of CIDR notation Show Sample Output
If you have file opened in emacs and was just changed, the fastest way to reload the file is C-x C-v, as its default value is the path of the file.
Grabs the ip2location site and removes everything but the span tag containing the country value. Place it inside your .bashrc or .bash_aliases file. Show Sample Output
even shorter (infix) version. Show Sample Output
Check to see if a port is open or closed on a given host. Show Sample Output
and that was the only thing that worked for me.
As mtr starts, it investigates the network connection between the host and google public dns server. Show Sample Output
The above command will also rename hidden files or dirs
What's wrong with this? Show Sample Output
in case your openssl does not have zlib support: openssl:Error: 'zlib' is an invalid command.
1. First we get the `item_id` for that `comment`. Adapt the -C[N] parameter for your use. 2. Then we show the bookmark's `title` (or `url`). With that in your hand it's a matter of seconds to open Firefox's library and find the bookmark. Handy for eg. forensics or better sanitize of a place.sqlite before sharing it (on the cloud). It sure has room for improvement. Show Sample Output
Simply shows virtualhosts enabled, root access not needed (assuming apache2ctl is non-root executable).
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: