Skip to content
Writing

Author: Dipin Krishna

General Mar 15, 2010 1 min read

Disable the usage of history using HISTSIZE

I you don't want the shell to remember the commands you have typed, then disable history all together by setting the HISTSIZE to 0 as shown below.$ export…

Uncategorized Mar 12, 2010 1 min read

How to Change the position of the Restore/Max/Close buttons on windows in ubuntu 9.04,9.10,10.04

Many you might have already seen that the position of the buttons on the window decorated had been left justified in ubuntu 10.04. Actually it is very easy…

General Mar 11, 2010 1 min read

“shopt -s cdspell” : Automatically correct mistyped directory names on cd

Use shopt -s cdspell to correct the typos in the cd command automatically asshown below. $ cd /var/vmall-bash: cd: /var/vmall: No such file or directory$ shopt -s cdspell$…

General Mar 8, 2010 1 min read

Use “cd -” to toggle between the last two directories

You can toggle between the last two current directories using cd - as shownbelow.[dipin@linuxgeek ~]$ cd /etc/[dipin@linuxgeek etc]$ pwd/etc[dipin@linuxgeek etc]$ cd /var/[dipin@linuxgeek var]$…

General Mar 7, 2010 1 min read

Try to navigate up the directory using cd followed by consecutive dots

In the below example i have show how to navigate up to level 5 using cd......(cd followed by 6 dots).Here a single dot represents the current directory, 2…

General Mar 6, 2010 1 min read

Toggle SSH Session using SSH Escape Character

When you’ve logged on to the remotehost using ssh from the localhost, you may want to come back to the localhost to perform some activity and go back…