Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Execute export below, then execute history
- history with timestamp
- ===
- i.e. 994 2008-10-16 02:27:40 exit
- export HISTTIMEFORMAT=”%F %T ”
- i.e. 1051 : Wed 16 Jun 2010 08:27:30 PM IST : df -h
- export HISTTIMEFORMAT=”: %c : ”
- i.e. day month time
- export HISTTIMEFORMAT=”%d %m %T ”
- i.e. 458 Sat Sep 22 – 07:37:29 PM history
- export HISTTIMEFORMAT=”%a %h %d – %r ”
- i.e. 460 Saturday Sep 22 – 07:39:54 PM history
- export HISTTIMEFORMAT=”%A %h %d – %r ”
- i.e. 460 Saturday September 22 – 07:39:54 PM history
- export HISTTIMEFORMAT=”%A %B %d – %r ”
Advertisement
Add Comment
Please, Sign In to add comment