In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Basic introduction of Linux group
In Linux, each user must belong to a group and cannot be independent of the group. In Linux, each file has the concept of owner, group, and other groups.
1) owner
2) Group
3) other groups
4) change the user's group
II. File / directory owner
It is generally the creator of the file, and whoever creates the file will naturally become the owner of the file.
1. View the owner of the file
1) instruction: ls-ahl
2) Application example:
2. Modify the file owner
Directive: chown username file name
Application example
Request:
Third, the creation of groups
1. Basic commands
Groupadd group name
2. Application example
4. File / directory group
When a user creates a file, the default group of the file is the user's group.
1. View the group of files / directories
Basic instruction ls-ahl
2. Modify the group in which the file belongs
Basic directive chgrp group name file name
3. Application example
5. Other groups
Except for the owner and group of the file, the other users of the system are other groups of the file.
These are all the knowledge points of this introduction. Thank you for your study and support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.