![]() ![]() ![]() %T –> shows Time in the format ‘HH:MM:S’ (Hour:Minute:Seconds) ![]() %F –> shows Date in the format ‘YYYY-M-D’ (Year-Month-Day) So, to enable timestamp in history command output, we must configure “ HISTTIMEFORMAT” variable.Įxecute following command to configure this variable # export HISTTIMEFORMAT="%F %T " So, we can’t say anything about the timings of command execution. As we can see in above history command output what commands were executed but issue is here that we do not have timestamp in output. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |