clog command not found

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

Introduction

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

clog: command not found

or when using sudo you get the following error message

sudo: clog: command not found

Solutions to clog: command not found

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

In Ubuntu clog is provided by clog package.

clog is:

Clog is useful for watching log files. It can spot patterns in an input stream and colorize or suppress the lines. It can also decorate the lines with time- or datestamps.

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

sudo apt-get -y install clog

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

You can also use apt command to install clog.

sudo apt -y install clog

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

sudo aptitude install clog

Summary

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