The jails command will print a list of all
the various jails running on your system. The hostnames of those jails are
printed. The list is not ordered.
This command is intended only for compatibility with earlier
versions of the
jailutils
package. The
jls(8)
command is a better source of jail information.