繁体   English   中英

Linux 上的 ls -l 命令中的点是什么?

[英]What is dot in ls -l command on Linux?

我在特定文件上的centOS 6.10上运行ls -l

我的问题是1之前的这个点( . )是什么意思?

-rw-r--r--. 1 root root  575 Oct 23

这意味着该文件具有 SELinux 上下文。 使用ls -Z查看实际的 SElinux 上下文值。 它记录在 GNU Coreutils 的“信息”文件中: What-information-is-listed

相关报价:

 Following the file mode bits is a single character that specifies
 whether an alternate access method such as an access control list
 applies to the file.  When the character following the file mode
 bits is a space, there is no alternate access method.  When it is a
 printing character, then there is such a method.

 GNU ‘ls’ uses a ‘.’ character to indicate a file with a security
 context, but no other alternate access method.

 A file with any other combination of alternate access methods is
 marked with a ‘+’ character.

点击链接了解更多详情

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM