quotaoff command not found

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

Introduction

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

quotaoff: command not found

or when using sudo you get the following error message

sudo: quotaoff: command not found

Solutions to quotaoff: command not found

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

In Ubuntu quotaoff 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 quotaoff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.