In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, what the editor shares with you is to use linux's chgrp command to change the file user group. I believe many people don't know much about it. In order to make you understand better, I summarized the following contents for you. Let's look down together. I'm sure you'll get something.
Chgrp is an acronym for the English word "change group", and the command serves as the group to which the file or directory belongs as it is defined in Chinese.
Syntax format: chgrp [parameters] [directory]
Commonly used parameters: coach
Reference example
Change the group properties of the file:
[root@linuxcool ~] # chgrp-v linuxcool file
Change the group properties of the file according to the specified file:
[root@linuxcool] # chgrp-- reference=file_1 file_2
Change the user group of all files under / usr/linuxcool and its subdirectories to cool:
[root@linuxcool] # chgrp-R cool / usr/linuxcool this is the end of the user group sharing about changing files using linux's chgrp command. I hope the above content can be used as a reference for all of you. If you like this article, you might as well share it for more people to see.
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.