How To Record Everything You Do In Terminal

Record Everything You Do In Terminal

4 Responses

  1. Alastair Montgomery says:

    You could setup an alias with would timestamp your recorded sessions.

    alias rec=’script -aq ~/term.log-$(date “+%Y%m%d-%H-%M”)’

  2. cmcanulty says:

    is there a way to have it always saved to a certain location, say for example/home/user/documents/my scripts?

  3. SK says:

    Yes, just use “script -a /home/user/documents/myscripts”. All commands will be stored in the specified file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.