|
NAMEfreebsd-version —
print the version and patch level of the installed system
SYNOPSIS
DESCRIPTIONThefreebsd-version utility makes a best effort to
determine the version and patch level of the installed kernel and / or
userland.
The following options are available:
If several of the above options are specified,
IMPLEMENTATION NOTESThefreebsd-version utility should provide the correct
answer in the vast majority of cases, including on systems kept up-to-date
using
freebsd-update(8),
which does not update the kernel version unless the kernel itself was affected
by the latest patch.
To determine the name (and hence the location) of a custom kernel,
the ENVIRONMENT
EXAMPLESTo determine the version of the currently running userland:/bin/freebsd-version -u To inspect a system being repaired using a live CD: mount -rt ufs /dev/ada0p2 /mnt env ROOT=/mnt /mnt/bin/freebsd-version -ku SEE ALSOuname(1), loader.conf(5)HISTORYThefreebsd-version command appeared in
FreeBSD 10.0.
AUTHORSThefreebsd-version utility and this manual page were
written by Dag-Erling Smørgrav
<des@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |