How to enable timestamp in Linux History command


Linux System Administrator with over 8 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

1 Response

  1. zumajim says:

    Add it to your .bashrc file so it’s always there (if you like it, that is).

    export HISTTIMEFORMAT=”%F %T “

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.