1. Basic Introduction of Linux Group In Linux, every 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 2. File/Directory Owner Generally, the creator of the file. Whoever creates the file will naturally become the owner of the file. 1. View the owner of the file 1) Command: ls -ahl 2) Application examples: 2. Modify the file owner Command: chown username filename Application Examples Require: 3. Group Creation 1. Basic commands groupadd group name 2. Application Examples 4. Group of files/directories When a user creates a file, the group to which the file belongs is the group to which the user belongs by default. 1. View the group of the file/directory Basic command ls -ahl 2. Modify the group where the file is located Basic command: chgrp group name file name 3. Application Examples 5. Other groups In addition to the file owner and group, other users of the system are other groups of the file. The above are all the knowledge points introduced this time. Thank you for your learning and support for 123WORDPRESS.COM. You may also be interested in:
|
<<: KTL tool realizes the method of synchronizing data from MySQL to MySQL
>>: Vue3.x uses mitt.js for component communication
Preface This article mainly introduces the releva...
I am planning to build my own website, so I took ...
Table of contents Character Set Comparison Rules ...
Table of contents 1. v-bind: can bind some data t...
This question is a discussion among netizens in a...
Recently, I started upgrading my blog. In the proc...
Effect Preview Ideas Scroll the current list to t...
1. Databases and database instances In the study ...
Installing Electron cnpm install electron -g Inst...
Main differences: 1. Type SQL databases are prima...
Recently a friend asked me if I have ever played ...
introduction Let's start with our content. I ...
This project shares the specific code of Vue+Rout...
CSS style: Copy code The code is as follows: <s...
1. Overview of SQLException When an error occurs ...