MySQL Shell Commands

Command Description
\help Print help about MySQL Shell, or search the online help
\quit Exit MySQL Shell
\ In SQL mode, begin multiple-line mode. Code is cached and executed when an empty line is entered
\status Show the current MySQL Shell status
\js Switch execution mode to JavaScript
\py Switch execution mode to Python
\sql Switch execution mode to SQL
\connect Connect to a MySQL Server
\reconnect Reconnect to the same MySQL Server
\use Specify the schema to use
\source Execute a script file using the active language
\warnings Show any warnings generated by a statement
\nowarnings Do not show any warnings generated by a statement
\history View and edit command line history
\rehash Manually update the autocomplete name cache
\option Query and change MySQL Shell configuration options
\show Run the specified report using the provided options and arguments
\watch Run the specified report using the provided options and arguments, and refresh the results at regular intervals
\edit Open a command in the default system editor then present it in MySQL Shell
\system Run the specified operating system command and display the results in MySQL Shell

Read for detail: https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-commands.html