---
name: "microcom"
section: "1"
platform: "linux"
package: "microcom"
version: "2023.09.0-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/microcom"
---

# microcom(1)

A minimalistic terminal program

## NAME

microcom - A minimalistic terminal program

## SYNOPSIS

**microcom** \[**-d**\] \[**-f**\] \[**-p** *devfile*\|***-t*** *host*:*port*\] \[**-s** *speed*\]\
 **microcom -c** *interface***:***rx\_id***:***tx\_id*\
 **microcom -h**

## DESCRIPTION

This manual page documents briefly the **microcom** command.

**microcom** is a is a minimalistic terminal program for accessing devices (e.g. switches) via a serial connection. It features connection via RS232 serial interfaces (including setting of transferrates) as well as in \`telnetmode' as specified in rfc2217 and a (Linux specific) can mode.

The escape character to enter the program menu is crtl-\\. There are several commands available, among them **quit** (to exit microcom), **exit** (to return to normal mode) and **speed** (to set terminal speed)

## OPTIONS

**microcom** follows the usual GNU command line syntax, with long options starting with two dashes (\`-'). A summary of options is included below.

- **-d**

  output debugging info to stdout.

- **-f**

  ignore an already existing lock file.

- **-p** *devfile***, --port=***devfile*

  use the specified serial port device (default **/dev/ttyS0**).

- **-s** *speed***, --speed=***speed*

  use specified baudrate (default **115200**).

- **-t** *host**:**port***, --telnet=***host**:**port*

  work in telnet (rfc2217) mode.

- **-c** *interface**:**rx\_id**:**tx\_id,* **--can=***interface**:**rx\_id**:**tx\_id*

  work in CAN mode (default: **can0:200:200**)

- **-h**, **--help**

  Show help.

## AUTHOR

This manual page was written by Uwe Kleine-König based on work initially done by Alexander Reichle-Schmehl.
