xtail command not found

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

Introduction

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

xtail: command not found

or when using sudo you get the following error message

sudo: xtail: command not found

Solutions to xtail: command not found

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

In Ubuntu xtail is provided by xtail package.

xtail is:

xtail watches the growth of files. It’s like running a “tail -f” on a bunch of files at once. It notices if a file is truncated and starts from the beginning. You can specify both filenames and directories on the command line. If you specify a directory, it watches all the files in that directory. It will notice when new files are created (and start watching them) or when old files are deleted (and stop watching them).

Note that xtail isn’t a graphical (X11) program, it runs on a plain tty. The name likely comes from “eXtended tail” or such.

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

sudo apt-get -y install xtail

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

You can also use apt command to install xtail.

sudo apt -y install xtail

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

sudo aptitude install xtail

Summary

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