mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 14:42:29 +00:00
23 lines
454 B
Plaintext
23 lines
454 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# arch
|
|
|
|
> Display the name of the system architecture, or run a command under a different architecture.
|
|
> See also: `uname`.
|
|
> More information: <https://keith.github.io/xcode-man-pages/arch.1.html>.
|
|
|
|
- Display the system's architecture:
|
|
|
|
`arch`
|
|
|
|
- Run a command using x86_64:
|
|
|
|
`arch -x86_64 "{{command}}"`
|
|
|
|
- Run a command using arm:
|
|
|
|
`arch -arm64 "{{command}}"`
|