Comments on: Set Date and Time for Each Command You Execute in Bash History https://www.tecmint.com/display-linux-command-history-with-date-and-time/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 09:14:53 +0000 hourly 1 By: Romualdo Soler González https://www.tecmint.com/display-linux-command-history-with-date-and-time/comment-page-1/#comment-1046289 Wed, 10 Oct 2018 09:56:45 +0000 http://www.tecmint.com/?p=24188#comment-1046289 In my opinion, it’s a little clearer, like this: export HISTTIMEFORMAT=’%F %T ->

]]>
By: Ravi Saive https://www.tecmint.com/display-linux-command-history-with-date-and-time/comment-page-1/#comment-1046184 Wed, 10 Oct 2018 05:27:19 +0000 http://www.tecmint.com/?p=24188#comment-1046184 In reply to Gaspar.

@Gaspar,

Remove the following line from your /.bashrc file to print date and time in history command.

export HISTTIMEFORMAT='%F %T'
]]>
By: Gaspar https://www.tecmint.com/display-linux-command-history-with-date-and-time/comment-page-1/#comment-1046137 Wed, 10 Oct 2018 02:43:24 +0000 http://www.tecmint.com/?p=24188#comment-1046137 How to stop using history with date and time?

which command i can use?

]]>
By: Nick https://www.tecmint.com/display-linux-command-history-with-date-and-time/comment-page-1/#comment-1035506 Fri, 14 Sep 2018 08:32:32 +0000 http://www.tecmint.com/?p=24188#comment-1035506 In reply to Devendra.

This is normally.
New command will have a new time.

]]>
By: Devendra https://www.tecmint.com/display-linux-command-history-with-date-and-time/comment-page-1/#comment-1034928 Wed, 12 Sep 2018 11:05:40 +0000 http://www.tecmint.com/?p=24188#comment-1034928 I have done it but in history it showing all commands are executed on current date.

]]>