Fundamentals of Linux by Oliver Pelz

Fundamentals of Linux by Oliver Pelz

Author:Oliver Pelz
Language: eng
Format: epub
Tags: COM046070 - COMPUTERS / Operating Systems / Linux, COM088010 - COMPUTERS / System Administration / Linux and UNIX Administration, COM043000 - COMPUTERS / Networking / General
Publisher: Packt Publishing
Published: 2018-06-30T07:34:53+00:00


-l outputs the file owner in the third column. Here, it is root, and for this file it is olip. In the fourth column, the ls -l outputs the group owner of the file. Also, here it is root and here it is olip. You already know that the first character in the ls -l output is the file type. Now, the nine bits afterward l and d define the file's permission string. The first three characters of the permission string define the permissions for the file owner. The second three bits of the permission string define the permissions for the group owner. The last three bits in the permission string define the permissions for all the other users. In this example, folderABC has the file owner olip, the group owner olip. Furthermore, the file owner olip has full permissions on the directory, the group owner olip has full permissions on the directory, and all the other users have read and execute permissions on this directory.

Perform the following steps:

First, let's create a directory. We'll put in some files to work with and then change to the directory:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.