BASH: Print shell variable into AWK
Kill -9 immediately kills the given process number. $$ is the process ID of the process you are in.
shows only folders, that are MB or GB in total size
Just an alternative :)
as a shell script, the possibilities are endless... #!/bin/bash echo doing something very evil! exit [2Aecho doing something very nice! Show Sample Output
Thanks to pooderbill for the idea :-) Show Sample Output
You'll need to install proctools. MacPorts and Fink have this if you're running Mac OS X, check your Linux distribution's repositories if it isn't installed by default. Show Sample Output
This is to get the latest version of phpMyAdmin to support scripts to download the latest version of the software if they want to automatically update. Show Sample Output
list what applications using what ports Show Sample Output
Will print the host associated with the current stdin. This is useful to set the DOIT_SERVER for the doit remote execution agent ( http://www.chiark.greenend.org.uk/~sgtatham/doit/ ) export DOIT_HOST=$(who -m | sed 's/.*(\(.*\)).*/\1/') Note that SSH_CLIENT variable can be lost if you use su or sudo (if set to reset vars) Show Sample Output
Telnet will make a tcp connection to a remote ip/port to test connectivity. If it times out, it's not reaching the host (maybe the firewall is blocking it). If connection is refused, it's reaching the host, but either the service is not listening on that port, or it's locked. Show Sample Output
I constantly need to work on my local computer, thus I need a way to download the codeigniter user guide, this is the wget way I figured.
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: