Archive

Posts Tagged ‘history’

Add date & time to your bash history

We all know the “history” command that display the list of commands you previously entered.  But have you ever wish to know when these commands were entered ?  This useful tip, will require only  a few seconds to put in place and will now add the date and time in your history file.

Output of history command before the change to .bashrc

Output of history command before the change to /etc/bashrc

Read more…

Categories: Tips & Tricks