ischroot(1) on Linux
The text 34904492e2f0, as Debian 12 (Bookworm), Debian 11 (Bullseye) shipped it.
detect if running in a chroot
Flags it lists
-
--default-false -
--default-true -
--help -
--version -
-f -
-t