---
name: "togglesebool"
section: "8"
platform: "linux"
package: "selinux-utils"
version: "3.8.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/togglesebool/8"
---

# togglesebool(8)

flip the current value of a SELinux boolean

## NAME

togglesebool - flip the current value of a SELinux boolean

## SYNOPSIS

**togglesebool** *boolean...*

## DESCRIPTION

**togglesebool** flips the current value of a list of booleans. If the value is currently a 1, then it will be changed to a 0 and vice versa. Only the "in memory" values are changed; the boot-time settings are unaffected.

## AUTHOR

This man page was written by Steve Grubb \<sgrubb@redhat.com\>

## SEE ALSO

[**selinux**(8)](/selinux/8.md), [**booleans**(8)](/booleans/8.md), [**getsebool**(8)](/getsebool/8.md), [**setsebool**(8)](/setsebool/8.md)
