script

I always forget this command and it takes a while to search for it, but if you ever start doing administration work on systems and you want to keep track of what you have been doing for documentation, always remember the script command.