17 lines
330 B
Markdown
17 lines
330 B
Markdown
# arch
|
|
|
|
> 显示系统架构的名称,或在不同架构下运行命令。
|
|
> 另见:`uname`。
|
|
> 更多信息:<https://keith.github.io/xcode-man-pages/arch.1.html>。
|
|
|
|
- 显示系统的架构:
|
|
|
|
`arch`
|
|
|
|
- 使用 x86_64 运行命令:
|
|
|
|
`arch -x86_64 "{{command}}"`
|
|
|
|
- 使用 arm 运行命令:
|
|
|
|
`arch -arm64 "{{command}}"` |