I. INTRODUCTION
Unix system, as a powerful multi-user time-sharing operating system, has been applied in more and more occasions, and the requirements of UNIX system management are more and more, but the current Books on UNIX system management
Under various UNIX and Linux operating systems, each file (folder is also considered a file) is read, write, run set permissions.For example, when I use the ls-l command to list file tables, I get the following output:-rw-r--r-- 1 bu users 2254 200
Many operations on Ubuntu are performed on the terminal. Files managed by the sudo command are owned by the root user, which cannot be changed by the general user. On the graphic interface, you can use the permission options folder in the attribute
Input ls-l xxx. xxx. xxx in the terminal as the file name). Similar information will appear, mainly including:
-Rw-r --
A total of 10 digits, including:
The-at the top of the list indicates the type.
The three rw in the middle represents the owner
Use the LS-l command, such as the following:Total 74434-Rwxrwxr-x 2 user DBA 39921 January 16 12:50 file1Drwxrwxr-x 2 user DBA 4096 January 16 15:29 folderTotal 74434 indicates the space occupied by all files in the directory2 indicates the number
To view the permissions for a Linux file: Ls-l file nameTo view permissions for a Linux folder: Ls-ld folder name (in the same directory)To modify file and folder permissions:sudo chmod-(on behalf of type) XXX (owner) xxx (group user) xxx (other
[Programmer technical skills] familiar with Unix/Linux Shell and common command line (I) file system structure and basic operations,
As a programmer, it is essential to be familiar with some unix/linux Command lines, because the servers used to
Permissions to view Linux files: Ls-l file name UluitugUluitugTo view the permissions for a Linux folder: Ls-ld folder name (in directory) UluitugUluitugModify file and folder permissions: UluitugUluitugsudo chmod-(representing type) xxx (owner) xxx
UNIX file and directory Access can be viewed as a form of a 3*3 matrix.
That is, three Access objects (owner,groups,others, user groups, others), each with three access rights (Read,write,execute read, write, execute).
111 binary means 7,100 is 4 if
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.