shrewquest
shrewquest

Reputation: 551

Is there a means to keep track of commands executed on command line?

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

Answers (1)

Josh Cho
Josh Cho

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

Related Questions