![]() In this example, ‘Feb 16 00:19’ specifies the last modification time of the file. Field 6 – Last modified date and time: Sixth field specifies the date and time of the last modification of the file.In this example, ‘1176’ indicates the file size in bytes. Field 5 – Size: Fifth field specifies the size of file in bytes.In this example, this file belongs to ”maverick’ group. Field 4 – Group: Fourth field specifies the group of the file. ![]() In this example, this file is owned by username ‘maverick’. Field 3 – Owner: Third field specifies owner of the file.In this example, 1 indicates only one link to this file. Field 2 – Number of links: Second field specifies the number of links for that file.If all three permissions are given to user(root), group and others, the format looks like -rwxrwxrwx Taking above example, -rw-rw-r– indicates read-write permission for user(root), read permission for group, and no permission for others respectively. The every 3 characters specifies read, write, execute permissions for user(root), group and others respectively in order. Field 1 – File Permissions: Next 9 character specifies the files permission.Following are the possible file type options in the 1st character of the ls -l output. In the example above the hyphen (-) in the 1st character indicates that this is a normal file. rw-rw-r– 1 maverick maverick 1176 Feb 16 00:19 1.cġst Character – File Type: First character specifies the type of the file. $ ls -l : To show long listing information about the file/directory. Display All Information About Files/Directories Using ls -l ISRO CS Syllabus for Scientist/Engineer Examģ.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |