history command – This command is use to display the history of previous executed command.
Display previous execute command
# history
1 cal
2 date
3 cal 2021
4 cal 6 2021
History last 5 executed command
# history 5
Clear previous executed command history
# history -c
0 comments:
Post a Comment