The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...
Exiting a script and logging out are very different, but sometimes you may need to log out of your Linux system from within a script. Here's how to do it. Most of the time, exiting a script leaves you ...