Sunday, June 3, 2012

Use ! to invoke previous command

The output of the history command will be

1.cd ~

2.pwd


etc etc.


to invoke a previously typed command without typing the full command just type

!2



pwd command will be executed

No comments:

Post a Comment