We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using ls on Fedora, CentOS, RHEL, AlmaLinux etc, there is an additional argument -Z to display SELinux contexts.
ls
-Z
Can look like this
/ ❯❯❯ ls -Z system_u:object_r:bin_t:s0 bin@ system_u:object_r:lib_t:s0 lib64@ system_u:object_r:proc_t:s0 proc/ system_u:object_r:root_t:s0 sysroot/ system_u:object_r:boot_t:s0 boot/ system_u:object_r:mnt_t:s0 media@ system_u:object_r:admin_home_t:s0 root@ system_u:object_r:tmp_t:s0 tmp/ system_u:object_r:device_t:s0 dev/ system_u:object_r:mnt_t:s0 mnt@ system_u:object_r:var_run_t:s0 run/ system_u:object_r:usr_t:s0 usr/ system_u:object_r:etc_t:s0 etc/ system_u:object_r:default_t:s0 nix/ system_u:object_r:bin_t:s0 sbin@ system_u:object_r:var_t:s0 var/ system_u:object_r:home_root_t:s0 home@ system_u:object_r:usr_t:s0 opt@ system_u:object_r:var_t:s0 srv@ system_u:object_r:lib_t:s0 lib@ system_u:object_r:usr_t:s0 ostree@ system_u:object_r:sysfs_t:s0 sys/
This is currently the only thing keeping me with ls
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when using
ls
on Fedora, CentOS, RHEL, AlmaLinux etc, there is an additional argument-Z
to display SELinux contexts.Can look like this
This is currently the only thing keeping me with ls
The text was updated successfully, but these errors were encountered: