FreeBSD Show Disk Quota Limits Command

I‘m a new FreeBSD unix user and backup file on a FreeBSD based unix server. How can I check quota limits and disk usage using shell prompt on a FreeBSD based system?

Tutorial details
Difficulty level Easy
Root privileges No
Requirements FreeBSD
Est. reading time 1m
[/donotprint]You need to use the quota command line utility to see your disk usage and limits. By default only the user quotas are printed. Disk block usage and limits are shown in 1024-byte blocks.

Checking Disk Quota on FreeBSD Server

The syntax is as follows:

quota -v
quota [options] username
quota [options] groupname

The following is sample output from my server:
$ quota -v
$ quota -v -h
Sample outputs:

Disk quotas for user vivek (uid 40142): 
     Filesystem   usage    quota   limit   grace  files   quota  limit   grace
     /mnt/sales      0B       0B      0B               0         0       0         
     /mnt/homes   7289M   97656M 107422M             579   10000000 11000000  


  1. -v : Display quotas on file systems where no storage is allocated.
  2. -h : “Human-readable” output. Use unit suffixes: Byte, Kilobyte,Megabyte, Gigabyte, Terabyte and Petabyte.

You can use the following command over ssh based session:

ssh vivek@nas01 quota -hv
ssh quota -hv

I strongly suggest that you read quota man page for more information.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum