It really bothers me when people type "cd $HOME" or even worse, "cd /home/username". Why? Just type cd alone, it'll go home by itself.
Another useful cd tip, use "cd -" as an alias for "cd $OLDPWD" (oldpwd is the previous directory).
It really bothers me when people type "cd $HOME" or even worse, "cd /home/username". Why? Just type cd alone, it'll go home by itself.
Another useful cd tip, use "cd -" as an alias for "cd $OLDPWD" (oldpwd is the previous directory).
In reply to this post, Links 20/5/2011: Linux Kernel 2.6.39, MeeGo 1.2 Released | Techrights commented @ 2011-05-20T10:37:15.000+02:00:
[...] Go home [...]
Original published here.
In reply to this post, fredso commented @ 2011-05-22T16:32:29.000+02:00:
rrrgh, I probably spent up to an extra hour the last 10 years by typing cd ~ !! :-D
Original published here.