Friday, May 19, 2023

How to know Linux OS is 64 bit or 32 bit ?

 How to know Linux OS is 64 bit or 32 bit  ?


First Method :

[root@0.0.0.0]#

[root@0.0.0.0]# which arch

/usr/bin/arch

[root@0.0.0.0]#

[root@0.0.0.0]#

[root@0.0.0.0]#

[root@0.0.0.0]# arch

x86_64

[root@0.0.0.0]#

[root@0.0.0.0]#

[root@0.0.0.0]#



Second Method :


[root@0.0.0.0]# uname -a

Linux ip-172-31-19-40.ec2.internal 4.18.0-425.19.2.el8_7.x86_64 #1 SMP Fri Mar 17 01:52:38 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@0.0.0.0]#


This is 64 bit Operating System because of output is x86_64

No comments:

Post a Comment