Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

quota(1) [bsd man page]

QUOTA(1)						      General Commands Manual							  QUOTA(1)

quota - display disc usage and limits SYNOPSIS
quota [ -qv ] [ user ] DESCRIPTION
Quota displays users' disc usage and limits. Only the super-user may use the optional user argument to view the limits of users other than himself. The -q flag prints a more terse message, containing only information on file systems where usage is over quota. If a -v flag is supplied, quota will also display user's quotas on file systems where no storage is allocated. Quota reports only on file systems which have disc quotas. If quota exits with a non-zero status, one or more file systems are over quota. SEE ALSO
quota(2), quotaon(8) 4.2 Berkeley Distribution April 29, 1985 QUOTA(1)

Check Out this Related Man Page

QUOTA(1)						    BSD General Commands Manual 						  QUOTA(1)

quota -- display disk usage and limits SYNOPSIS
quota [-ghlu] [-f path] [-v | -q | -r] quota [-hlu] [-f path] [-v | -q | -r] user ... quota -g [-hl] [-f path] [-v | -q | -r] group ... DESCRIPTION
The quota utility displays users' disk usage and limits. By default only the user quotas are printed. Disk block usage and limits are shown in 1024-byte blocks. The following options are available: -f path Only display quota information for the file system that contains the specified path. This can be any file within a mounted file sys- tem. -g Print group quotas for the group of which the user is a member. -h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte. -l Do not report quotas on NFS file systems. -q Print a more terse message, containing only information on file systems where usage is over quota. The -q flag takes precedence over the -v flag. -r Display the raw quota information as it appears in the quota structure. Non-zero time values will also be displayed in ctime(3) for- mat. This option implies -v and will override the -q flag. -u Print the user quotas. This is the default unless -g is specified. -v Display quotas on file systems where no storage is allocated. Specifying both -g and -u displays both the user quotas and the group quotas (for the user). Only the super-user may use the -u flag and the optional user argument to view the limits of other users. Non-super-users can use the -g flag and optional group argument to view only the limits of groups of which they are members. The quota utility tries to report the quotas of all mounted file systems. If the file system is mounted via NFS, it will attempt to contact the rpc.rquotad(8) daemon on the NFS server. For UFS file systems, quotas must be turned on in /etc/fstab. If quota exits with a non-zero status, one or more file systems are over quota or the path specified with the -f option does not exist. If the -l flag is specified, quota will not check NFS file systems. FILES
quota.user located at the file system root with user quotas located at the file system root with group quotas /etc/fstab to find file system names and locations SEE ALSO
quotactl(2), ctime(3), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8), rpc.rquotad(8) HISTORY
The quota command appeared in 4.2BSD. BSD
February 3, 2007 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/data error

I am getting this email error now from a script (which I have not changed and has bee up for a while) Subject: Cron <aquarank@fish> /home/aquarank/www/cgi-bin/cron/rerank.cgi /bin/date: write error: File too large What file is too large? (9 Replies)
Discussion started by: AquaRank
9 Replies

2. Shell Programming and Scripting

how can I check the user's mail quota?

how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused: For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies

3. HP-UX


Hello, I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies

4. Cybersecurity

create file with 20mb with quota

Hello , does anyone know how to create a file with 20mb with the help of quota without root and as a normal user? thank u in advance (5 Replies)
Discussion started by: sommer_queen
5 Replies

5. UNIX for Dummies Questions & Answers

Disk quota exceeded......

I keep on getting an error on my site saying I've got a 250GB dedicated server, and have used less than 200mb of that. The site has only been on the server for just over a month. What does this mean and how can I sort it? (8 Replies)
Discussion started by: thehaapyappy
8 Replies

6. UNIX for Dummies Questions & Answers

$home full? or quota enabled?

I'm having trouble setting up passwordless ssh; specifically - I can only setup 2 remote hosts because when I try to add another to my known_hosts file it just won't. More investigation reveals various errors relating to 'No space left on device'. There is plenty of free disk space; user quotas... (9 Replies)
Discussion started by: dan-e
9 Replies

7. Ubuntu

Download quotas for users

Hi peeps, I have a teenage lad who needs to learn some discipline with internet access etc. etc. My main problem is that he is downloading so much that he is using more than his fair share. What I'd like to do is set a download quota for him so that he can learn what this all means. Can... (10 Replies)
Discussion started by: greadey
10 Replies

8. Solaris

A strange user appears in my quotas and I can't find it in my system

Hello, I am running a Solaris 8 system. I Have encountered that each time I ask the system to report to me the users who have or are about to exceed their quota limit for disk usage, a strange number appears in a user name, it does not appear in my /etc/group or in my /etc/passwd files The user... (13 Replies)
Discussion started by: lzcool
13 Replies

9. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

10. Shell Programming and Scripting

Using a Regex with double quotations

Hi All, for a script I'm writing I need to be able to put the following command in a variable: tail -30 <file> | egrep "JBoss \(MX MicroKernel\) .* Started" I thought surround it with single quotes would work. However, it doesnt escape the wildcard, and results in the wildcard being expanded... (8 Replies)
Discussion started by: dpatters
8 Replies

11. Emergency UNIX and Linux Support

Disk quota exceeded (difference btw. du and df, again!)

I haven't been able to do anything since yesterday evening because my account is full to the brim. Very annoying on a Friday evening when no admin will be in until Monday morning. Of course, I might consider cleaning up if I knew where the problem is, but I can't figure it out because du and df... (8 Replies)
Discussion started by: mregine
8 Replies

12. Shell Programming and Scripting

carriage returns within quotation marks causing new lines in csv

I have a csv file with 3 columns. Fields are comma delimited and strings are enclosed with quotation marks "". About 40% of the time, the line of values will start a new line thanks to carriage return characters within a string. Example: "apple","banana","orange" "pineapple","grape","straw... (6 Replies)
Discussion started by: koeji
6 Replies

13. Shell Programming and Scripting

Disk Quota Exception while deleting the files

This is the full file name I get when I do ls -lt from my current directory. EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz File names also consist of date as well. In the above file date is 20120811. So I am trying to delete all the files which starts with EXPORT_v1x0 and whose... (7 Replies)
Discussion started by: raihan26
7 Replies

14. Shell Programming and Scripting

Multiple carriage returns within quotation marks causing new lines in csv

There is a closed thread called "carriage returns within quotation marks causing new lines in csv" that I am unable to post to, so I am starting a new thread. The awk solution worked perfectly in most cases. We have some cases where there are multiple carriage returns within a single quoted... (9 Replies)
Discussion started by: Mary Roberts
9 Replies

15. UNIX for Dummies Questions & Answers

Variable in sed

First post on this excellent forum. I have problem using an variable in sed. I've been quoting until my eyes bleeds now:o I want to match IPV6 addresses and join it with the line that follows. This works when i use it without an variable. cat test.txt | sed -e '/^2001/{N;s/\n//;}' But when... (9 Replies)
Discussion started by: OXYD
9 Replies

Featured Tech Videos