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 command history page by page using following command
$ history|more 1 ls 2 reset 3 cat abc.lst 4 reset 5 cat abc.lst xyz.lst 6 reset 7 cat > pqr.lst 8 cat pqr.lst