CLI Magic: Using script to log your sessions
Sometimes when working on a trivial task, such as creating a MySQL account, I find myself unable to remember the exact steps, despite having done it many times in the past few years. When such temporary amnesia strikes, you can turn to script, a command-line utility that keeps a log of your console session. It can record for future reference all the commands you use.
User Level: Beginner
You can use the command line for anything from text editing to SSH and FTP logins, and to download stuff from the Web. Script can help network admins keep an eye on what users are doing on their consoles. It's also an efficient way for people who are writing installation notes about an application to keep track of their steps. And new users can use it to record error messages.