How To Find Out FreeBSD Version and Patch Level Number

‮tth‬ps://www.lautturi.com
How To Find Out FreeBSD Version and Patch Level Number

To find out the version and patch level number of a FreeBSD system, you can use the uname command with the -r option. The syntax is as follows:

uname -r

This will display the kernel version and patch level number of the FreeBSD system.

For example, the output might look something like this:

11.4-RELEASE-p4

In this example, the FreeBSD version is 11.4 and the patch level number is 4.

Alternatively, you can use the freebsd-version command to display the version and patch level number of the FreeBSD system. The syntax is as follows:

freebsd-version -ku

This will display the kernel version and patch level number of the FreeBSD system, as well as the userland version and patch level number.

For example, the output might look something like this:

11.4-RELEASE-p4
userland version: 11.4-RELEASE-p4

Keep in mind that these commands only display the version and patch level number of the currently running kernel and userland. To find out the version and patch level number of the installed FreeBSD system, you can use the freebsd-version -u command. This will display the installed userland version and patch level number, regardless of whether it is the currently running version or not.

For example, the output might look something like this:

11.4-RELEASE-p4

You can use the freebsd-version -p command to display a list of all installed patches. This will display the patch level number and description of each patch that has been applied to the installed FreeBSD system.

Created Time:2017-10-16 14:38:43  Author:lautturi