课程: Linux: Files and Permissions
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
What is a file?4 分钟 59 秒
-
(已锁定)
Getting information about files5 分钟 29 秒
-
(已锁定)
About extended attributes3 分钟 54 秒
-
(已锁定)
Getting extended attributes4 分钟 14 秒
-
(已锁定)
About file globs5 分钟 9 秒
-
(已锁定)
Using character classes3 分钟 7 秒
-
(已锁定)
Using globs to match files6 分钟 42 秒
-
(已锁定)
Matching with brace expansion6 分钟 11 秒
-
(已锁定)
The Magic of extended globs6 分钟 25 秒
-
(已锁定)
Matching files with extended globs2 分钟 22 秒
-
(已锁定)
Advanced extended globs4 分钟 22 秒
-
-
-
-
-