Author: Dipin Krishna
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…
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…
“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$…
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]$…
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…
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…