Type: script Everything you type in from now on goes into a file called typescript. When done, type: exit and the typescript file is closed and saved. Look at it using: more typescript or open it in emacs. Do not run emacs while in script, as it will clutter the typescript file with lots of unreadable characters. Make sure your typescript is readable before you "submit" it. Otherwise, run again to get a nice typescript.