In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to view Linux system architecture types. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1.uname command
The uname-a command can directly display the commands of the Linux system architecture and can work in almost all Linux/Unix systems.
2.dpkg command
The dpkg command, which can be used to see whether the Debian/ Ubuntu operating system is 32-bit or 64-bit, is only available for Debian-and Ubuntu-based Linux distributions.
Execute the following command in the terminal:
Dpkg-print-architecture
Output amd64 if the current Linux is 64-bit and i386 if it is 32-bit.
3.getconf command
The getconf command is mainly used to display the configuration of system variables, and we can also use the following parameters to view the Linux system architecture:
Getconf LONG_BIT
4.arch command
The arch command is mainly used to display the operating system architecture type, which is very similar to the uname-m command. If the output is x86664, it is represented as a 64-bit system, and if the output i686 or i386 is represented as a 32-bit system.
5.file command
The file command can be used with the special parameter / sbin/init to view the system architecture type (/ sbin/init is linked to / lib/systemd/systemd in Ubuntu 15.10):
File / sbin/init
Thank you for reading! This is the end of this article on "how to view Linux system architecture types". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.