1# uname 2 3 4## Command Function 5 6This command is used to display the name, version creation time, system name, and version information of the current operating system. 7 8 9## Syntax 10 11uname [_-a | -s | -r | -m | -n | -v | --help_] 12 13 14**Table 1** Parameter description 15 16| Parameter | Description | 17| ------ | ----------------------- | 18| --help | Displays help information.| 19| No parameter| Displays the operating system name by default. | 20| -a | Displays all data. | 21| -s | Displays the operating system name. | 22| -r | Displays the kernel release version. | 23| -m | Displays the operating system architecture name. | 24| -n | Displays the network domain name of the host. | 25| -v | Displays version information. | 26 27 28## Usage Guidelines 29 30- The **uname** command displays the name of the current operating system by default. 31 32- Except **--help** and **-a**, other parameters can be used together. **uname -a** is equivalent to **uname -srmnv**. 33 34## Note 35 36The **-r**, **-m**, and **-n** parameters are not supported currently. mksh supports these parameters. To switch to mksh, run **cd bin** and **./mksh**. 37 38## Example 39 40Run the following commands: 41 42- uname -a 43 44- uname -ms 45 46 47## Output 48 49Example 1: all information of the operating system 50 51``` 52OHOS:/$ uname -a 53LiteOS hisilicon 2.0.0.37 LiteOS 2.0.0.37 Oct 21 2021 17:39:32 Cortex-A7 54OHOS:/$ 55``` 56 57Example 2: operating system name and architecture 58 59``` 60OHOS:/$ uname -ms 61LiteOS Cortex-A7 62OHOS:/$ 63``` 64