i-ls command not found

In this troubleshooting guide we learn how to fix i-ls command not found error message

Introduction

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

i-ls: command not found

or when using sudo you get the following error message

sudo: i-ls: command not found

Solutions to i-ls: command not found

How To Fix i-ls: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu i-ls is provided by integrit package.

integrit is:

Integrit helps you determine whether an intruder has modified your system. Without the use of integrit, a sysadmin wouldn’t know if the programs used for investigating the system are trojan horses or not. Integrit works by creating a database that is a snapshot of the most essential parts of the system. You put the database somewhere safe, and then later you can use it to make sure that no one has made any illicit modifications to your file system.

Integrit’s key features are the small memory footprint, the design with unattended use in mind, intuitive cascading rulesets for the paths listed in the configuration file, the possibility of XML or human-readable output, and simultaneous checks and updates.

See http://integrit.sourceforge.net/ for more information.

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

sudo apt-get -y install integrit

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

You can also use apt command to install integrit.

sudo apt -y install integrit

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

sudo aptitude install integrit

Summary

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