Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #958
Difficulty: Hard
Metamorphism protects a virus against heuristic analysis.
True or False?
Linux & Unix Commands - Search Man Pages

quota(1) [bsd man page]

QUOTA(1)						      General Commands Manual							  QUOTA(1)

NAME
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)						      General Commands Manual							  QUOTA(1)

NAME
quota - display disk usage and limits SYNOPSIS
quota [ -F format-name ] [ -guvs | q ] quota [ -F format-name ] [ -uvs | q ] user quota [ -F format-name ] [ -gvs | q ] group DESCRIPTION
quota displays users' disk usage and limits. By default only the user quotas are printed. quota reports the quotas of all the filesystems listed in /etc/mtab. For filesystems that are NFS-mounted a call to the rpc.rquotad on the server machine is performed to get the information. OPTIONS
-F format-name Show quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem) -g Print group quotas for the group of which the user is a member. The optional -u flag is equivalent to the default. -v will display quotas on filesystems where no storage is allocated. -s flag will make quota(1) try to choose units for showing limits, used space and used inodes. -q Print a more terse message, containing only information on filesystems where usage is over quota. 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 the -g flag and optional group argument to view only the limits of groups of which they are members. The -q flag takes precedence over the -v flag. DIAGNOSTICS
If quota exits with a non-zero status, one or more filesystems are over quota. FILES
aquota.user or aquota.group quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user or quota.group quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/mtab default filesystems SEE ALSO
quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), repquota(8) QUOTA(1)

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

Quota-problem

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