linux 命令和教程补充

This commit is contained in:
estomm
2021-12-24 11:16:28 +08:00
parent 40e916976b
commit b7c3653392
586 changed files with 46455 additions and 39 deletions

36
Linux/command/arch.md Normal file
View File

@@ -0,0 +1,36 @@
arch
===
显示当前主机的硬件架构类型
## 概要
```shell
arch [OPTION]...
```
## 主要用途
- 打印机器架构信息;`arch` 命令输出结果有i386、i486、i586、alpha、sparc、arm、m68k、mips、ppc、i686等。
## 选项
```shell
--help 显示帮助信息并退出。
--version 显示版本信息并退出。
```
## 例子
```shell
[root@localhost ~]# arch
x86_64
```
### 注意
1. 该命令等价于 `uname -m`
2. 该命令是`GNU coreutils`包中的命令,相关的帮助信息请查看`man -s 1 arch``info coreutils 'arch invocation'`