From 7681e7fa89a870151a2ad4bdf4be12f4a24b5017 Mon Sep 17 00:00:00 2001 From: Michael Pearce Date: Thu, 13 Oct 2016 07:48:16 +0100 Subject: [PATCH] edquota: add page (#1001) --- pages/linux/edquota.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/edquota.md diff --git a/pages/linux/edquota.md b/pages/linux/edquota.md new file mode 100644 index 0000000000..0cd16edbd1 --- /dev/null +++ b/pages/linux/edquota.md @@ -0,0 +1,28 @@ +# edquota + +> Edit quota for a user or group. By default it operates on all file systems with quotas. +> Quota information is stored permanently in the quota.user and quota.group files in the root of the file system. + +- Edit quota of current user: + +`edquota {{user}}` + +- Edit quota of specific user: + +`sudo edquota {{user}}` + +- Edit the group quota: + +`sudo edquota --group {{group}}` + +- Perform operations on given file system ONLY (default is to perform operations on all file systems with quota): + +`sudo edquota --file-system {{filesystem}}` + +- Edit the default grace period: + +`sudo edquota -t` + +- Duplicate a quota to other users: + +`sudo edquota -p {{reference_user}} {{destination_user1}} {{destination_user2}}`