warnquota command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
warnquota: command not found
or when using sudo you get the following error message
sudo: warnquota: command not found
Solutions to warnquota: command not found
How To Fix warnquota: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu warnquota is provided by quota package.
quota is:
This package provides the standard set of utilities for manipulating file system usage caps via the Linux Diskquota system. It can set hard or soft limits with adjustable grace periods on block or inode usage for users and groups. It allows users to check their quota status, integrates with LDAP, and supports quotas on remote machines via NFS.
To fix this problem, we can install more using the command below.
sudo apt-get -y install quota
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install quota.
sudo apt -y install quota
Or if you have aptitude installed you can use the following command.
sudo aptitude install quota
Summary
In this tutorial we learn how to fix warnquota command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.