Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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        jbach@mobiletribe.net
    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
....
Comment

PREVIOUS NEXT
Code Example
Shell :: ionic offline documentation 
Shell :: spotify linux 
Shell :: serverless not using aws profile 
Shell :: empty-commoit 
Shell :: restart sql server ubuntu 
Shell :: github ssh key setup 
Shell :: execute powershell file windows 
Shell :: uninstall django 
Shell :: node ace list routes 
Shell :: heroku clear build cache 
Shell :: git tls certificate verification has been disabled 
Shell :: install packer on ubuntu 
Shell :: how to uninstall all plugins in ionic app 
Shell :: How to remove files from new gitignore file 
Shell :: arch linux chinese fonts 
Shell :: convert csv to json powershell 
Shell :: kill a port in ubuntu 
Shell :: ng2-charts 
Shell :: git fix Large files detected. 
Shell :: git push error 
Shell :: virtualbox homebrew 
Shell :: delete remote git branch 
Shell :: linux set permissions during copy 
Shell :: `FirebaseAnalytics` requires CocoaPods version `= 1.10.0`, which is not satisfied by your current version, `1.5.2`. 
Shell :: how to install pg_dump on mac 
Shell :: install mdx for nextjs 
Shell :: install live-server via npm 
Shell :: heroku bash 
Shell :: windows cd to another drive 
Shell :: install python3 and python pip in docker 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =