Install Ksuperkey one command in Kubuntu. You must manually add ksuperkey to autostart in System Settings KDE.
git gc should be run on all git repositories every 100 commits. This will help do do so if you have many git repositories ;-)
NOTE: When doing these commands when asked for questions there might be flowing text from the pv doing the progress bar just continue typing as if its not there, close your eyes if it helps, there might be a yes or no question, type "yes" and ENTER to it, and also it will ask for a password, just put in your password and ENTER I talk alot more about this and alot of other variations of this command on my site: http://www.kossboss.com/linuxtarpvncssh Show Sample Output
Generates a bash array and uses it to select a random image from ~/wallpapers.
This is a quick way to find what is hogging disk space when you get a full disk alert on your monitoring system. This won't work as is with filesystems that allow embedded spaces in user names or groups (read "Mac OS X attached to a Windows Domain"). In those cases, you will need to change the -k 5 to something that works in your situation. Show Sample Output
Written on OSX after `brew install unrar coreutils`; presumably works on other unices with minimal modifications. Didn't test rars that actually have paths in them, just "flat" files. Won't include files in the rar starting with a dot.
change the path where you are, when is executed, is usefule when you've got folders to classify something like a tags, you've got devel/dist, android/ios, etc. like: ~user/Documents/devel/project ~user/Documents/dist/project You can change between devel/project folder to dist/project without leave project. If somebody has a better idea to do that without replace command. Show Sample Output
this command extracts an initrd files into the "tmp" directory
This commands compresses the "tmp" directory into an initrd file.
Take screen shot using Tizen SDK cd ~ # go to you home directory fn=$(date "+ screen-%H-%M-%S") # create variable for file name in bash sdb shell xwd -root -out /tmp/"$fn".xwd # open shell and run command to save screenshot sdb pull /tmp/"$fn".xwd ~/ # copy created file into your home directory convert "$fn".xwd "$fn".png # converting xwd to png in your home
It will list your machine's ethernet ports speed Show Sample Output
Given a cbr file which is rar compressed, get a cbz file which is zip compressed.
This version uses subshells.
Useful if you need to make changes to the JVM on, say, 1.7 when your default installed is 1.8. Show Sample Output
Where $1 = author and $2 = mod name
You need to be running a daily build of Minetest (for example from the 'minetestdevs/daily-builds' PPA), or some bleeding edge mods will not work or crash the game.
Update a mod by entering its subdirectory under ~/.minetest/mods and doing
git pull && git submodule update --recursive --remote --init
Speed up Google Chrome like speedyfox does for MAC USER. This script will detect all SQLITE DATABASE on the Google directory
This command is named "rope" since it ties a rope in the directory you are in... so when you go to other directories you can type "rope" again and you will get back to tied directory... it helps a lot when you forget to execute a command in other directories, so you can go, do what you want, and return to the directory to complete what you now want to do. NOTE: add this command to the end of ".bashrc" file found in your home directory and the alias will be permanent
Copy changed files from the remote git repository, _including binary ones_, staged and unstaged alike. Note that this command doesn't handle deleted files properly. The reverse of the excellent command by Ivan.
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: