Answers for "Retrieve Linux command line history by date"

0

Retrieve Linux command line history by date

[qweet@superbox ~]$ export HISTTIMEFORMAT='%F %t '
[qweet@superbox ~]$ history
    1  2012-03-06        su -
    2  2012-03-06        [email protected]
    3  2012-03-06        mysql
    4  2012-03-06        ll
    5  2012-03-06        cd /opt/
    6  2012-03-06        ll
    7  2012-03-06        exit
    8  2012-03-06        ll
    9  2012-03-06        ls -lsa
   10  2012-03-06        cd ../
   11  2012-03-06        ll
   12  2012-03-06        ll
....
Posted by: Guest on October-22-2021

Code answers related to "Retrieve Linux command line history by date"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language