\s [ FILE ]

\s [ FILE ] prints or saves the command line history to filename. If a filename is not specified, \s writes the history to the standard output. This option is only available if vsql is configured to use the GNU Readline library.