Files
cheatsheet-tldr/tldr/linux/getenforce
2024-05-27 00:14:40 +00:00

15 lines
343 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# getenforce
> Get the current mode of SELinux (i.e. enforcing, permissive, or disabled).
> See also: `setenforce`, `semanage-permissive`.
> More information: <https://manned.org/man/getenforce>.
- Display the current mode of SELinux:
`getenforce`