Linux history

Linux history command



Get help on Linux history command.


   Linux history command is use to display command history list or manipulate the command history list on Linux system.  The Linux history command is one of bash shell built in command.  The command below show how to get get help on Linux history command, this help show information on how to use the Linux history command, the history command options and the arguments that can be use with Linux history command.


Get Linux history command help


  Execute help command and the name of Linux command that we want the help file, the example below we execute help command to get help for history command.


history linux command

How to clear command history using Linux history command


How to clear command history using Linux history command.


   The Linux command history is a list of Linux command that you execute in or on current shell session.  This list of command history is store inside your home directory, in hidden file called ".bash_history".  The default configuration of command history can store up to 500 entry of your previous executed command.  This list of history command is quite annoying if you want to hide your track or if you want to hide the command entry that you have execute in your shell session.  The example below show how clear command history using history command.


Syndicate content