statserial command not found

In this troubleshooting guide we learn how to fix statserial command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

statserial: command not found

or when using sudo you get the following error message

sudo: statserial: command not found

Solutions to statserial: command not found

How To Fix statserial: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu statserial is provided by statserial package.

statserial is:

Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It can be useful for debugging problems with serial ports or modems.

To fix this problem, we can install more using the command below.

sudo apt-get -y install statserial

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install statserial.

sudo apt -y install statserial

Or if you have aptitude installed you can use the following command.

sudo aptitude install statserial

Summary

In this tutorial we learn how to fix statserial command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.