Skip to content

getjail

Ulrich Berntien edited this page Mar 27, 2019 · 1 revision

getjail

Name

getjail - check to see if we're in a chroot

Synopsis

getjail

Description

getjail does a check to see if we're in a chroot, and then does some very basic checks for hypervisors/virtualisation.

getjail writes the report to stdout.

Example

Run the function. There are no command line arguments.

$ getjail

Development

If there are any better checks, let me know.

Clone this wiki locally