some bash shell tricks

Posted by phillip Fri, 18 May 2007 10:26:00 GMT

phillipoertel@[~]: cd Documents/seaside/
phillipoertel@[~/Documents/seaside]: cd -
/Users/phillipoertel
phillipoertel@[~]: a b c
-bash: a: command not found
phillipoertel@[~]: !$
c
-bash: c: command not found
phillipoertel@[~]: a b c
-bash: a: command not found
phillipoertel@[~]: !!
a b c
-bash: a: command not found
phillipoertel@[~]: a b c
-bash: a: command not found
phillipoertel@[~]: !*
b c
-bash: b: command not found
phillipoertel@[~]: 

see also: nubyonrails.com

Posted in |