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 :: install packages rstudio 
Shell :: mysql_upgrade xampp 
Shell :: clear the git stash 
Shell :: split string and create array bash 
Shell :: WslRegisterDistribution failed with error: 0x8000000d 
Shell :: make nextcloud scan for files 
Shell :: tree process linux commnad 
Shell :: kill process on linux 
Shell :: get path of command 
Shell :: ubuntu take screenshot with cursor 
Shell :: git ignore for dart 
Shell :: add ssh keys to github 
Shell :: installing rabbitmq on debian 
Shell :: pipenv specify environment location 
Shell :: ubuntu delete contents of folder 
Shell :: how to totally uninstall prettier 
Shell :: firebase hosting 
Shell :: install zerotier raspberry pi 
Shell :: cmd flutter doctor says android studio is not installed 
Shell :: bash path ubuntu 
Shell :: clock skew detected 
Shell :: docker run always puull 
Shell :: docker install python 
Shell :: install flask dockerfile freeze 
Shell :: powershell script enable tls 1.2 
Shell :: pm2 show command 
Shell :: tmux kill all sessions 
Shell :: print grep output in one line 
Shell :: rpm extract 
Shell :: git rm --cached settings.json 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =