fx serial

attach to a serial console

usage: fx serial [--output-file file] [--baud rate] [device-path]

Options:
  --output-file file      Record the serial output to the specified file.
  --baud rate             Set the baud rate for the serial connection.
                          Default is 115200.

Note: Options above only work with physical devices, not supported for emulators.

If no device path is given, a list of options will be presented.

If the selected device is not readable by the active user account, it will
first be chmod'd to provide access to the current user.

Exit the session with CTRL+o

In order to have arrow keys work, execute `export TERM=xterm; /boot/bin/sh`
on in the console.

serial source code