Reputation: 551
I wanted to know if there was some means of keeping track of every command executed on command line in a chronological manner along with the working directory where it was executed and the output of the command. Like putting all of this information for a session into a log file that you can go through later.
Upvotes: 0
Views: 330
Reputation: 159
The acct program allows the system administrators to know exactly what their users were doing on their command line.
This site: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounting.html has a detailed description on how to enable it.
Upvotes: 1