In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.