Logging everything I see in a bash session

ru flag

I know I can have a look at my bash history in .bash_history and save that history.

This time I'd like to have both the commands as well as the complete output of those commands being logged to a text file, much like a "video" of what I'm doing, but in text format.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.