The savecommand saves commands to a file. It is valid only in native mode.
Save all or all minus number commands since last run command, rerun command, ordebug command to the default file or file_name.
number is the number of commands not to save.
filename is the name of the file to save the dbx commands executed since the last run, rerun, or debug command.