ttylog command not found

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

Introduction

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

ttylog: command not found

or when using sudo you get the following error message

sudo: ttylog: command not found

Solutions to ttylog: command not found

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

In Ubuntu ttylog is provided by ttylog package.

ttylog is:

Print everything that comes from a serial device to stdout. The device as well as the baud rate can be specified and a timeout can be set instead of just killing the process in order to stop it.

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

sudo apt-get -y install ttylog

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

You can also use apt command to install ttylog.

sudo apt -y install ttylog

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

sudo aptitude install ttylog

Summary

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