freebsd-version.1 (256106) | freebsd-version.1 (256241) |
---|---|
1.\"- 2.\" Copyright (c) 2013 Dag-Erling Sm��rgrav 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2013 Dag-Erling Sm��rgrav 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/libexec/freebsd-version/freebsd-version.1 256106 2013-10-07 10:26:38Z des $ | 26.\" $FreeBSD: head/bin/freebsd-version/freebsd-version.1 256241 2013-10-09 20:47:20Z des $ |
27.\" 28.Dd October 5, 2013 29.Dt FREEBSD-VERSION 1 30.Os 31.Sh NAME 32.Nm freebsd-version 33.Nd print the version and patch level of the installed system 34.Sh SYNOPSIS --- 60 unchanged lines hidden (view full) --- 95.It Ev ROOT 96Path to the root of the filesystem in which to look for 97.Pa loader.conf 98and the kernel. 99.El 100.Sh EXAMPLES 101To determine the version of the currently running userland: 102.Bd -literal -offset indent | 27.\" 28.Dd October 5, 2013 29.Dt FREEBSD-VERSION 1 30.Os 31.Sh NAME 32.Nm freebsd-version 33.Nd print the version and patch level of the installed system 34.Sh SYNOPSIS --- 60 unchanged lines hidden (view full) --- 95.It Ev ROOT 96Path to the root of the filesystem in which to look for 97.Pa loader.conf 98and the kernel. 99.El 100.Sh EXAMPLES 101To determine the version of the currently running userland: 102.Bd -literal -offset indent |
103/libexec/freebsd-version -u | 103/bin/freebsd-version -u |
104.Ed 105.Pp 106To inspect a system being repaired using a live CD: 107.Bd -literal -offset indent 108mount -rt ufs /dev/ada0p2 /mnt | 104.Ed 105.Pp 106To inspect a system being repaired using a live CD: 107.Bd -literal -offset indent 108mount -rt ufs /dev/ada0p2 /mnt |
109env ROOT=/mnt /mnt/libexec/freebsd-version -ku | 109env ROOT=/mnt /mnt/bin/freebsd-version -ku |
110.Ed 111.Sh SEE ALSO 112.Xr uname 1 , 113.Xr loader.conf 5 , 114.Xr freebsd-version 8 115.Sh HISTORY 116The 117.Nm 118command appeared in 119.Fx 10.0 . 120.Sh AUTHORS 121The 122.Nm 123utility and this manual page were written by 124.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org . | 110.Ed 111.Sh SEE ALSO 112.Xr uname 1 , 113.Xr loader.conf 5 , 114.Xr freebsd-version 8 115.Sh HISTORY 116The 117.Nm 118command appeared in 119.Fx 10.0 . 120.Sh AUTHORS 121The 122.Nm 123utility and this manual page were written by 124.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org . |