Is there something similar to script that records ONLY the commands and not any output from them to a file?
Script command without output
scripting
historyIt shows you what your shell last did. Every command. No output. It is editable.