From the course: CompTIA Linux+ (XK0-005) Cert Prep
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Get extended attributes - Linux Tutorial
From the course: CompTIA Linux+ (XK0-005) Cert Prep
Get extended attributes
- [Instructor] Just as you can use the LS file and stat commands to get file attributes, you can use additional tools and/or options to gather information on extended attributes. For this exercise, you want to log in as user one and open a terminal. To show what ACLs look like, we need a file with them. We haven't created a file as an ACL yet, so let's do it now using the touch command. The touch command's job is to change the timestamp of a file, otherwise known as touching the file. However, if you specify a file that does not exist, then it will create an empty file for you. We're not really using the touch command for its intended purpose, but it works for creating new empty files. Also, take note that I will cover standard Linux permissions and access control list in other videos. I just want to focus on getting information about files on this one. In the terminal, type touch space ACL file dot txt, and hit enter.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
What is a file?4m 59s
-
(Locked)
Get information about files5m 28s
-
(Locked)
About extended attributes3m 54s
-
(Locked)
Get extended attributes4m 14s
-
(Locked)
Linux permissions overview1m 52s
-
(Locked)
File and directory modes1m 16s
-
(Locked)
File ownership3m 14s
-
(Locked)
Permissions using numeric method3m 2s
-
(Locked)
Permissions using symbolic method4m 44s
-
(Locked)
Initial permissions using umask4m 30s
-
(Locked)
Special file bits: SUID and SGID4m 59s
-
(Locked)
Special directory bits: SGID and Sticky5m 53s
-
(Locked)
Access control lists overview3m 32s
-
(Locked)
Read access control lists3m 33s
-
(Locked)
Set access control lists5m 40s
-
(Locked)
Configure inheritance with default access control lists4m 1s
-
(Locked)
Delete access control lists4m 13s
-
(Locked)
Troubleshoot access control3m 18s
-
-
-
-
-
-
-
-
-
-