---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# togglesebool

> Flip the current (non-persistent) values of SELinux booleans.
> Note: This tool has been deprecated and often removed in favor of `setsebool`.
> More information: <https://manned.org/togglesebool>.

- Flip the current (non-persistent) values of the specified booleans:

`sudo togglesebool {{virt_use_samba|virt_use_usb|...}}`

- Flip multiple booleans:

`sudo togglesebool {{key1 key2 ...}}`
