Query: uname
OS: freebsd
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNAME(1) BSD General Commands Manual UNAME(1)NAMEuname -- display information about the systemSYNOPSISuname [-aiKmnoprsUv]DESCRIPTIONThe uname command writes the name of the operating system implementation to standard output. When options are specified, strings represent- ing one or more system characteristics are written to standard output. The options are as follows: -a Behave as though the options -m, -n, -r, -s, and -v were specified. -i Write the kernel ident to standard output. -K Write the FreeBSD version of the kernel. -m Write the type of the current hardware platform to standard output. -n Write the name of the system to standard output. -o This is a synonym for the -s option, for compatibility with other systems. -p Write the type of the machine processor architecture to standard output. -r Write the current release level of the operating system to standard output. -s Write the name of the operating system implementation to standard output. -U Write the FreeBSD version of the user environment. -v Write the version level of this release of the operating system to standard output. If the -a flag is specified, or multiple flags are specified, all output is written on a single line, separated by spaces. The -K and -U flags are intended to be used for fine grain differentiation of incremental FreeBSD development and user visible changes.ENVIRONMENTAn environment variable composed of the string UNAME_ followed by any flag to the uname utility (except for -a) will allow the corresponding data to be set to the contents of the environment variable.EXIT STATUSThe uname utility exits 0 on success, and >0 if an error occurs.SEE ALSOfeature_present(3), getosreldate(3), sysctl(3), uname(3), sysctl(8)STANDARDSThe uname command is expected to conform to the IEEE Std 1003.2 (``POSIX.2'') specification.HISTORYThe uname command appeared in PWB UNIX. The -K and -U extension flags appeared in FreeBSD 10.0.BSDNovember 20, 2013 BSD
Related Man Pages |
---|
uname(1) - linux |
uname(1p) - centos |
uname(1p) - suse |
uname(1) - hpux |
bpm(1) - netbsd |