Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the edquota command of linux to edit disk quotas for users or groups

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux edquota command to edit user or group disk quota, the article is very detailed, has a certain reference value, interested friends must read it!

Edquota presets use vi to edit disk quota settings for users or groups

Syntax format: edquota [parameters] [user or group name.]

Common parameters:

-u sets the user's disk quota, which is the default parameter-g sets the group's disk quota-p applies the source user's disk quota setting to other users or groups-t sets the grace period

Reference example

Assume that linuxcool is a system account that requires a quota to allocate disk quotas to users:

[root@linuxcool] # edquota-u linuxcool

Want to use the same quota configuration as linuxcool for Jack, Tom, and Chen users:

[root@linuxcool] # edquota-p linuxcool-u Jack Tom Chen

For the quota of the group, except that the corresponding-u option in the edquota command is changed to the-g option, for example, the following operation on the webterm1 group:

[root@linuxcool ~] # edquota-g webterm1 above is to use the edquota command of linux to edit the disk quota of a user or group. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report