ischroot
(1)detect if running in a chroot
ischroot [--default-false] [--default-true] [--help] [--version]
Options
4-f--default-falseExit with status 1 if the detection is not possible.
-t--default-trueExit with status 0 if the detection is not possible.
--helpPrint a usage message on standard output and exit successfully.
--versionPrint version information on standard output and exit successfully.