Mar 20, 2009
Linux command line repository
Here is another command line repository. It has a bunch of one line commands that we maybe using everyday. You can also comment and vote on these commands. Happy coding Please, share your thoughts... read more
Mar 16, 2009
Linux Virtual Terminals
As you all know, linux is a multi-user system. This means that you can login as two or more different users at the same time. To switch between virtual terminals, you can use the keyboard combination (Ctrl-)Left Alt-FN, where N is in range 1-12). You can also switch to any virtual terminal from the command line using chvt chvt 5 Switches to the virtual terminal number 5. Happy coding Please, share your... read more
Feb 19, 2009
Bash command line editing using vim
I was thinking that it’d be really cool if there is a way to edit my bash shell commands using vim. So, one of my friends told me about a pretty cool command called fc. It is basically a way to fix your last run command in a text editor like vim. All you have to do is to type fc in the command line. Then, you can use vim to type whatever command you want. After a little bit more of research, I... read more
Feb 19, 2009
Change GTK+ theme from command line
First, you need to know that installing a gtk theme from command line is fairly easy. All you have to do is to extract the contents of your theme tar file in /usr/share/themes. tar -zxf your-theme-.tar.gz /usr/share/themes/ So, to switch your theme, you can install a tool called gtk-theme-switch. It is easy to guess . sudo apt-get install gtk-theme-switch Then all you have to do is to use this tool... read more
Feb 19, 2009
Change keyboard layout from command line
I don’t want to start a debate about the best keyboard layout ever. However, I was pretty much open minded and decided to give Dvorák a try. I used it for a few months and I caught up with my original speed of qwerty. To switch your keyboard layout to Dvorák: setxkbmap -layout dvorak Honestly, I feel more comfortable typing in Dvorák now than qwerty. However, if you want to keep using qwerty,... read more
