From the course: Linux: Files and Permissions
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Getting extended attributes - Linux Tutorial
From the course: Linux: Files and Permissions
Getting extended attributes
- Just as you can use the ls file and stack 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 user1 and open a terminal. To show what ACLs look like, we need a file with them. We haven't created a file with an ACL yet, so let's do it now using the touch command. The touch command's job is to change the time stamp of a file, otherwise known as touching the file. However, if you specify a file that doesn't 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 aclfile.txt and hit Enter. Let's take a look…
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)
Getting information about files5m 29s
-
(Locked)
About extended attributes3m 54s
-
(Locked)
Getting extended attributes4m 14s
-
(Locked)
About file globs5m 9s
-
(Locked)
Using character classes3m 7s
-
(Locked)
Using globs to match files6m 42s
-
(Locked)
Matching with brace expansion6m 11s
-
(Locked)
The Magic of extended globs6m 25s
-
(Locked)
Matching files with extended globs2m 22s
-
(Locked)
Advanced extended globs4m 22s
-
-
-
-
-