2014-02-10 16:35:16 -08:00
|
|
|
# uname
|
|
|
|
|
2015-07-08 18:45:35 +01:00
|
|
|
> Print details about the current machine and the operating system running on it
|
2014-02-10 16:35:16 -08:00
|
|
|
|
2015-07-08 18:45:35 +01:00
|
|
|
- Print hardware-related information: machine and processor
|
2014-02-10 16:35:16 -08:00
|
|
|
|
2015-07-08 18:45:35 +01:00
|
|
|
`uname -mp`
|
2014-02-10 16:35:16 -08:00
|
|
|
|
2015-07-08 18:45:35 +01:00
|
|
|
- Print software-related information: system name (Linux, Darwin...), release number, and version
|
2014-02-10 16:35:16 -08:00
|
|
|
|
2015-07-01 20:57:51 +01:00
|
|
|
`uname -srv`
|
2014-02-10 16:35:16 -08:00
|
|
|
|
|
|
|
- Print the nodename (hostname) of the system
|
|
|
|
|
|
|
|
`uname -n`
|