selinux:display_selinux_lables
This is an old revision of the document!
SELinux Display SELinux Labels
See SELinux Labels.
Type the following command:
ls -lZ /path/to/file ls -lZd /path/to/dir ls -lZd /etc ls -lZ /dev/ | grep deviceName ls -lZ /etc/resolv.conf
Sample outputs:
-rw-r--r-- root root system_u:object_r:net_conf_t /etc/resolv.conf
selinux/display_selinux_lables.1468234915.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)