Thursday, January 26, 2012
2:32 PM

Play with history Command in Linux/Unix


history command shows the list of commands you had executed in your terminal. This command is useful when you want to execute same command again and again , in that case you can recall that command and save your precious time. Here are some examples of history command

1. Simply Display history of my commands
$ history

1 ls
2 reset
3 cat abc.lst
4 reset
5 cat abc.lst xyz.lst

Note: View

0 comments:

Post a Comment