ls is simply a list of file names in the directory, ll more detailed list of file types, file owner permissions, file owner group permissions , file size, file last modified time, etc...
We can use a simple diagram to illustrate, as shown in Figure 1:
1, first place Just "-", for ordinary files.
2, rw-, means that the file owner has read and write permissions to the Text.txt file, (x position is "-" means no execution permission)
3, rw- , indicates that the file owner group has read and write permissions to the Text.txt file, (x position is "-" indicates no execution permission)
4, r--, indicating that other users are on the file Only read permissions
Note: rw-, rw-, r--, 3 bits per 3 digits. r : indicates read permission, w : indicates modify permission, x : indicates execution permission
1) How to modify file permissions?
u : Permissions of the current user, g : Permissions of the current user group, o : Current other user permissions
Example: a) Add execution permission to the current user
1 Chmod u+x text.txtb) Add write permission to the current user group
1 chmod g+w Text.txtc) Add read permission to other users
1 chmod o+r Text.txt2) How to modify the file owner?
Example: Modify the owner to wm
1 chown linux wm3) How do I modify the group to which the file belongs?
Example: Modify the group to grp
1 chgrp linux grp
Original address: http://www.cnblogs.com/nchar/p/3905660.html
This article describes the implementation of malloc and its malloc in the heap expansion operation,
VNC (Virtual Network Computing) is an abbreviation of virtual network computer. VNC is an excellent
Many users who are new to Linux will use the concept of Windows to understand Linux system.
(1) View the usage of each CPU core sudo top -d 1 After entering, press 1, the following CP
Unix/Linux Software Installation
Linux compiles the kernel and adds system calls
Ubuntu under the bower report EACCES: permissiondenied solution
Detailed configuration of LVM under Linux
Linux service configuration network monitoring
Several Linux commands for understanding the performance of Linux systems
Centos6.5 x86 installation oracle 11g2r tutorial
9 Linux commands that must be carefully used before use
How to change the disk name of Win8 system
Improve XP system speed: turn off five network functions
Win7 Tips: The things that turn off the Windows Search service
Win10 official version of the registry how to open win10 registry permissions set graphic tutorial
Sharing Windows7 Top Ten Common Problems and Solutions
How does win10 turn the taskbar into full transparency?
Metal equipment 5 phantom pain bear how to play alloy equipment 5 phantom pain dog play