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
This article mainly introduces some functions commonly used in file and file system, the organization structure of file system and the hard link, symbolic link.By understanding this knowledge, you can have a more comprehensive understanding of the
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
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
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
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
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
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.