Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I view the history of a non-interactive user, for example, httpd? Hopefully, the answer is not specific to the shell used. I'm looking for history that could be in either bash or dash.

share|improve this question
up vote 0 down vote accepted

Command history generally only applies to interactive shell use. The activity history of other programs may be recorded in log files which you can find in places like /var/log and /var/log/httpd or /var/log/apache2. The existence of a pseudo-user account called httpd doesn't mean that account ever runs any shell at all.

share|improve this answer

Your Answer


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.