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.
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