Monthly Archives: May 2016

Add time stamp to commands in linux history

Some times we need to know at what time someone executed a command. We can add the time stamp to the commands displayed in the history. echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bash_profile ; source ~/.bash_profile Then type history command and … Continue reading

Posted in HOWTO, TIPS & T RICS, Uncategorized | Tagged , , | Leave a comment