ISCHROOT(1)
๐ ischroot ๐
โจ NAME โจ
okay so the whole point of this one is ischroot ๐ง, a tiny tool that detects if it is currently running in a chroot. that's it, that's the whole job ๐
๐ SYNOPSIS ๐
ischroot [--default-false] [--default-true] [--help] [--version]
๐ธ DESCRIPTION ๐ธ
bestie, ischroot literally checks whether you're running inside a chroot right now โจ and then tells you the answer through its exit status ๐ฆ (the number it hands back when it's done). the exit status is:
0โ yesss, you're currently running in a chroot ๐1โ nope, you're currently not running in a chroot ๐ โโ๏ธ2โ the detection is not possible ๐ญ
๐ OPTIONS ๐
-f,--default-falseโ if the detection is not possible, exit with status1instead of2๐-t,--default-trueโ if the detection is not possible, exit with status0instead of2๐ซถ--helpโ print a usage message on standard output and exit successfully ๐--versionโ print version information on standard output and exit successfully ๐ฅ
Source: Debian, dated 30 May 2011. ๐ That's the whole tea, bestie. Now go be iconic in your chroot (or not, no judgment) ๐ฆโจ
๐ฆ where this page comes from
- debian trixie: debianutils 5.23.2 ยท GPL-2.0-or-later
- nixpkgs unstable: debianutils 5.23.2
- ubuntu noble: debianutils 5.17build1 ยท GPL-2.0-or-later
- ubuntu questing: debianutils 5.23.2 ยท GPL-2.0-or-later
- ubuntu resolute: debianutils 5.23.2build1 ยท GPL-2.0-or-later
- ubuntu stonking: debianutils 5.24 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms