Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I am using screen utility for couple of years. I just simply love it. In cloud machines I do have multiple screens as I work with a team. I want to log every commands that have been run in every sessions. Suppose there are three screens ex. A,B and C. I want to get A's all sessions commands and so on.

It would be really great if you can give me a hint or details.

Thanks in advance.

share|improve this question

Set the deflog configuration parameter (in ~/.screenrc), then screen windows will be logged automatically.

See info -f screen --index-search=deflog for details

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.