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.

I know that

# ps -u someUser

will print the terminal processes currently being run by a user. Is there a way to get all of the past terminal processes that user ever ran when you're logged in as the root user?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Do you mean something like this:

cat ~someUser/.bash_history
share|improve this answer
    
Close, but I want all the processes they ran like $ php update_financials.php, cat ~someUser/.bash_history would bring up commands I don't care about like $ pwd or $ ls -l –  user784637 Oct 22 '11 at 0:51
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.