redhat – RHEL6 ls输出中新的句号/句点意味着什么?
发布时间:2020-12-13 18:23:12 所属栏目:Linux 来源:网络整理
导读:我们有脚本查看ls -l输出的输出,以获取最近在RHEL v6系统上失败的权限信息,这些信息似乎显示了额外的内容.在之前不曾存在的权限条目的末尾: [root@rhel6vm ~]# ls -ltotal 44-rw-------. 1 root root 1399 Aug 17 15:01 anaconda-ks.cfg-rw-r--r--. 1 root
我们有脚本查看ls -l输出的输出,以获取最近在RHEL v6系统上失败的权限信息,这些信息似乎显示了额外的内容.在之前不曾存在的权限条目的末尾:
[root@rhel6vm ~]# ls -l total 44 -rw-------. 1 root root 1399 Aug 17 15:01 anaconda-ks.cfg -rw-r--r--. 1 root root 25485 Aug 17 15:01 install.log -rw-r--r--. 1 root root 7253 Aug 17 14:59 install.log.syslog [root@rhel6vm ~]# ^ | up there 句号意味着什么?还有什么可以出现在它的位置? 解决方法
info ls显示:
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 an SELinux security context,but no other alternate access method. A file with any other combination of alternate access methods is marked with a `+' character. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |