Problem: to understand the following timestamp
1241036430
at ~/.history
: 1241036336:0;vim ~/.zshrc
: 1241036379:0;vim ~/bin/HideTopBar
: 1241036421:0;ls
: 1241036430:0;cat ~/.history
when I have
setopt EXTENDED_HISTORY
HISTFILE=~/.history
in .zshrc.
How can you read the timestamp?
From stackoverflow
-
Try
history -d. Or just typehistory -and press control-D to get all the various options:% history - -D -- print elapsed times -E -- dd.mm.yyyy format time-stamps -d -- print time-stamps -f -- mm/dd/yyyy format time-stamps -i -- yyyy-mm-dd format time-stamps -m -- treat first argument as a pattern -n -- suppress line numbers -r -- reverse order of the commandsMasi : Thank you for the explanations!
0 comments:
Post a Comment