Linux Command History by Date and Time

, Linux Command History by Date and Time, Hostripples Web Hosting


To check command history with data and time on linux server set following path on the server.

root@hr-webserver# export HISTTIMEFORMAT=’%F %T ‘

after that you can check command history as follows.

root@hr-webserver#history | grep wget
24 2013-12-12 10:55:24 wget
23 2013-12-12 11:23:15 wget

Thats all. Try it.



Subscribe Now to stay updated.

Please fill in your email address to get most latest updates.