diary
Save the commands and outputs in a text file.
diary(filename)
diary filename
Inputs
filename A string


Description
All the user input and the system outputs subsequent to the call to diary are saved in the specified text file.