record filename
The record subcommand appends the user's command lines to the specified file until a record command is entered with no parameters.
The record subcommand is started by specifying a file name on the record command. A second record command with no parameters will stop the current record process and close the file.
The record subcommand can be run only while the dbx debug program is running.
record /tmp/mycmds
record
The source subcommand.