setquota -u alice 100M 120M 0 0 /home

Category: Administration

setquota -u alice 100M 120M 0 0 /home

Set quota limits from the command line

Assigns user alice a 100 megabyte soft limit and 120 megabyte hard limit on /home without opening an editor; the zero inode limits mean unlimited files. The K, M, G, and T size suffixes are accepted. Ideal for scripting user onboarding.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.