If you have long and complicated folder names this might ease your work. add this into .bashrc Show Sample Output
Appends output to the file, some systems require the -a to do this.
Shows a constantly updating display of disk IO activity. Two sections are in the output. The first is the IO activity since the machine was booted, the second section is the IO activity in the last second Show Sample Output
alias lst="ls -ls -tr | tail" Show Sample Output
Obtener nombre de dominio de un archivo Show Sample Output
logstalgia must be installed
For KDE 4.2.* with plasma overlay activated I use this.
With progress bar.. hahaa this is friggin' kludge Show Sample Output
Gives the same results as the command by putnamhill using nine less characters.
finger - gets logged in users grep $(whoami) - greps only the current user (if there are more logged in) head -n1 - just one line awk '{print $2 " " $3}' - second and third word, seperated with a space (the users name) OT: My first commandlinefu-command :) Show Sample Output
Recursively changes every file case to lowercase
Make sure the file contents can't be retrieved if anyone gets ahold of your physical hard drive.
With hard drive partition:
gpg --default-recipient-self -o /path/to/encrypted_backup.gpg -e /dev/sdb1 && shred -z /dev/sdb1
WARNING/disclaimer: Be sure you... F&%k it--just don't try this.
So... I saw this: http://www.commandlinefu.com/commands/view/5385/play-all-the-music-in-a-folder-on-shuffle And I thought it would be cool to make it so that it will play songs in subdirectorys too. from: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2011-March/067853.html Show Sample Output
Using only this, has the same. (tested in linux, HP-UX and AIX)
you need ruby gems and localtunnel, further instruction on their website for ubuntu precise, just intall ... sudo apt-get install ruby ruby1.8-dev rubygems1.8 libopenssl-ruby sudo gem install localtunnel ssh-keygen -t rsa python -m SimpleHTTPServer 8000 sudo localtunnel -k ~/.ssh/id_rsa.pub 8000 Show Sample Output
How to figure out what a program is doing. -tt detailed timestamps -f also strace any child processes -v be very verbose, even with common structures -o write output to file -s N capture up to N characters of strings, rather than abbreviating with ...
Using the $PIPESTATUS array you can get the results of a command in a sequence of commands piped together. The command above returns the result of grep -o "bob", which is exit result of 1 since no match was made. Show Sample Output
If you have a load of logstash events in a redis queue (here named "logstash"), here's a fast way to examine the type and message of the event.
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: