arch命令主要用于显示当前主机的硬件结构类型,arch命令输出的结果有:i386、i486、mips、alpha等。
此命令的适用范围:redhat、rhel、ubuntu、centos、suse、opensuse、fedora。
语法格式
arch [参数]
常用参数
-- -help | 显示此命令的帮助信息 |
-- -version | 显示命令的版本信息 |
参考实例
显示当前主机硬件架构类型:
[root@coonote ~]# arch x86_64
查看当前arch命令版本:
[root@coonote ~]# arch --version arch (gnu coreutils) 8.30 ag真人试玩娱乐 copyright (c) 2018 free software foundation, inc. license gplv3 : gnu gpl version 3 or later . this is free software: you are free to change and redistribute it. there is no warranty, to the extent permitted by law. written by david mackenzie and karel zak.