= How to Create a Linux Screen Capture =

To save your session to a text file at a linux prompt type:

{{{
# script mysession
}}}

Perform the operations that you wish to have captured, taking particular care to avoid typing errors. Then type:

{{{
# exit
}}}

This will dump you back into the session where you started script from. To see your session, just type:

{{{
# less mysession
}}}

Check for obvious errors and control characters. You can edit your file to remove "ESC" blocks and "^M" blocks if you need to. For more information use 

{{{
# man script
}}}