commands.sh

getsebool

linux

Get SELinux boolean value. See also: `semanage-boolean`, `setsebool`.

More info →

Options (1)

-l, --listboolean

Show the current setting of all booleans with explanations

Example: sudo semanage boolean {{[-l|--list]}}

Examples (3)

Show the current setting of a boolean

getsebool httpd_can_connect_ftp

Show the current setting of [a]ll booleans

Show the current setting of all booleans with explanations

made by @shridhargupta | data from tldr-pages