2
1
Is there any way to find which commands have been executed between 2 specific dates (like 2 to 3 months period)?
I can use the history command, but I have powered the system on/off.
Is this possible? And how?
2
1
Is there any way to find which commands have been executed between 2 specific dates (like 2 to 3 months period)?
I can use the history command, but I have powered the system on/off.
Is this possible? And how?
9
Not by default. You should install the psacct (Process Accounting) utilities to get this functionality.
sudo apt-get install acct
The ubuntu package turns on process accounting as part of the install. It provides the following commands:
1
No, not possible with the default install. If you care about the next 2 - 3 months, it is possible to set something up to track this, but not for the prior 2-3 months.
is there any other way to track on now ? – joe – 2009-08-19T15:01:41.093
What commands are you talking about? What is the history command? The one in Bash doesn't care whether you've powered anything on or off. – innaM – 2009-08-19T15:13:59.353
what ever commands i executed on terminals – joe – 2009-08-19T17:28:01.593
History command -http://linux.about.com/od/commands/l/blcmdln_history.htm
– joe – 2009-08-19T17:28:58.910Are you using Bash? – innaM – 2009-08-19T19:11:25.893