In this post I will be sharing you some commands which will help you find the Operating System Architecture in a Linux Machine.
1. Using the 'uname -m' command
$ uname -m
x86_64
If you see this after executing the command, this means that your operating system is 64-Bit
$ uname -m
i686
If you see this after executing the command, this means that your operating system is 32-Bit
2. Using the 'arch' command
$ arch
x86_64
If you see this after executing the command, this means that your operating system is 64-Bit
$ arch
i686
If you see this after executing the command, this means that your operating system is 32-Bit
3. Using the 'getconf LONG_BIT' command
$ getconf LONG_BIT
64
If you see this after executing the command, this means that your operating system is 64-Bit
$ getconf LONG_BIT
32
If you see this after executing the command, this means that your operating system is 32-Bit
No comments:
Post a Comment