You can view the history of commands typed in terminal:
sudo history – to view all commands
sudo history 10 – to view your latest 10 commands
More than that you can filter you commands by a search key:
sudo history | grep cd – and you can see all the commands with change directory.
04/08/2009 at 13:41 |
Also a nice feature is the reverse search, just press ctrl – r to try it. ( bash trick )