Output of history command looks like this:
1975 mkdir adrnln/work_dump
1976 ls
1977 code
- What do the numbers on the left side mean?
- Is it true that commands entered for example on Monday will be displayed higher than those one entered on Tuesday?
- If above is true, why I can see some commands like
sshentered yesterday displayed lower than commands I entered today.
HISTTIMEFORMATvariable. Check this out: http://askubuntu.com/questions/391082/how-to-see-time-stamps-in-bash-history – Thiago Curvelo Feb 18 '15 at 12:48