Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to find a log of all the commands that have been run by a user on Ubuntu 11.10 Server? I need to find out what my friend ran to install a program.

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

If you use something like bash as a command interpreter, you could check the history.

more /home/user/.bash_history
share|improve this answer
    
How can i check the history with time-stamp? When each commands were used? –  YumYumYum Jul 2 '13 at 8:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.