linux - How to find history of shell commands since machine was created? -


i created ubuntu virtualbox machine couple weeks ago , have been working on projects off , on in since then.

now find syntax of commands typed in terminal week ago, have opened , closed terminal window , restarted machine numerous times.

how can history command go first command typed after created machine, or there place commands stored in ubuntu?

1) size of history file governed environment variable histsize. default 500 lines on systems.

2) can set $histsize in ~/.bashrc (or other) initialization file.

3) can check current history typing "history".

4) can learn more command , various options typing "man history".

here's article on subject:


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -