seinfo Command Examples in Linux
Command: seinfoCommand Usage: seinfo allows the user to query the components of a SELinux policy
Syntax: # seinfo [OPTIONS] [EXPRESSION] [POLICY ...]
Example:
1. To get information about a selinux policy
$ seinfo /etc/selinux/targeted/policy/
2. To print help info of this command
$ seinfo -h
3. To print stats of a selinux policy
$ seinfo --stats /etc/selinux/targeted/policy/
No comments:
Post a Comment