1 Star 0 Fork 5.3K

Clam06 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uname.md 3.65 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

uname

Command Function

This command is used to display the name, version creation time, system name, and version information of the current OS.

Syntax

uname [-a | -s | -t | -v | --help]

Table 1 Parameters

Parameter

Description

No parameter

Displays the OS name by default.

-a

Displays all information.

-t

Displays the time when the version is created.

-s

Displays the OS name.

-v

Displays the version information.

--help

Displays the help information.

Usage

The uname command displays the name of the current OS by default. The uname -a | -t| -s| -v command displays the name of the in-use OS in the standard output. These parameters are mutually exclusive.

Example

Enter uname -a.

Output

Querying system information

1
https://gitee.com/clam06/docs.git
git@gitee.com:clam06/docs.git
clam06
docs
docs
master

搜索帮助