Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But that presupposes that OP is running a 64 bit distro, which might not be the case. The best solution is lscpu which will give detailed info about the processor.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by skimeer
You can check hardware arch using below command
What does that return for a 32 bit OS running on 64 bit hardware though? I don't have a 32 bit VM to confirm but I would expect it to return 32 on a 32 bit OS?
That is an unreliable way to check whether the kernel is 32 bit or 64 bit. It does not check the hardware. So as an answer in this thread, it is a bad answer to the wrong question.
One way to browse through a list of available commands is to see the info pages. Just type
Code:
info
and you will see a list of available commands. The pages are hyperlinked, so clicking on the name of a program will give you it's description, which will be in a similar linked fashion. Press 'u' to go back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.