mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
339 B
Plaintext
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`
|