Thursday, 1 December 2016

Use of history command

history : This command is used to display the previous commands which is executed  on the terminal.
                                          Syntax:$history

history -c : This command is used to to clear the history from the terminal.
                                          Syntax:$history -c

After running history -c command history is cleared.We can check it by using history command.

No comments:

Post a Comment