Stack Exchange network consists of 182 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to save all my terminal output to a log file automaticly,
not like this
$ ls -al > file.txt
In the end of your session just type exit.
All your console output will be recorded to the file logfile.
Required, but never shown