How to add timestamps to history command.
Many we want to know the time of execution of command in linux system. By default, with HISTORY command we can get the list of previously executed commands but it doesn’t provide the time of execution. Here is variable which you can set to get the time stamp in your history command. Output after applying…