Adding date/time to BASH history

Useful if you have several admins on a server, so you can figure out who did what when.

Edit /etc/bashrc  and add:
export HISTTIMEFORMAT=”%h/%d – %H:%M:%S “

You can leave a response, or trackback from your own site.

Leave a Reply