2014-02-11 04:35:16 +04:00
|
|
|
# uname
|
|
|
|
|
2015-12-07 04:51:25 +03:00
|
|
|
> Print details about the current machine and the operating system running on it.
|
2016-11-19 20:41:17 +03:00
|
|
|
> Note: for additional information about the operating system, try the `lsb_release` command.
|
2015-10-09 10:54:24 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Print hardware-related information: machine and processor:
|
2014-02-11 04:35:16 +04:00
|
|
|
|
2015-07-08 20:45:35 +03:00
|
|
|
`uname -mp`
|
2014-02-11 04:35:16 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Print software-related information: operating system, release number, and version:
|
2014-02-11 04:35:16 +04:00
|
|
|
|
2015-07-01 22:57:51 +03:00
|
|
|
`uname -srv`
|
2014-02-11 04:35:16 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Print the nodename (hostname) of the system:
|
2014-02-11 04:35:16 +04:00
|
|
|
|
|
|
|
`uname -n`
|
2015-12-23 19:16:11 +03:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Print all available system information (hardware, software, nodename):
|
2015-12-23 19:16:11 +03:00
|
|
|
|
|
|
|
`uname -a`
|