Files
cheatsheet-tldr/tldr/linux/getenforce
2024-09-19 00:16:36 +00:00

15 lines
339 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/getenforce>.
- Display the current mode of SELinux:
`getenforce`