setarch
Change the reported architecture for a program's execution, primarily used to modify how programs behave based on system architecture. Useful for compatibility testing or running legacy applications. More information: https://manned.org/setarch.
- Run a command as if the machine architecture is
i686(useful for running 32-bit apps on a 64-bit kernel):
setarch i686
- Run a shell with the
x86_64architecture:
setarch x86_64
- Disable randomization of the virtual address space:
setarch
- List supported architectures:
setarch --list
- Display help:
setarch
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
