Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It's late here. My mind isn't recalling a single command to tell you that, but it's all in the CPU, so to speak. (Assuming a Linux distro.)
And check the "vendor_id" and the "model name". Go to the manufacturer website (almost certainly intel or amd) and lookup the specific info on that processor. They will tell you what its capabilities are (32 bit or 64 bit).
What is the basic difference of 'x86' and 'x86-64' ?
The big difference is 32 bit vs. 64 bit. There are other differences as well.
which command I can understand that my server supports either 'x86' or 'x86-64' architecture ?
"server" might mean your hardware or software or both. So those who replied earlier told you both how to find out whether your hardware supports both x86 and x86-64 architectures and whether your Linux kernel supports x86-64
The lm flag in /proc/cpuinfo means the hardware supports both. Lacking the lm means the hardware does not support x86-64.
The x68_64 that appears in the result of any of the commands uname -a
means your Linux kernel supports x86-64. Lacking that "x86_64" means the kernel does not support x86-64. (You only need one of those commands. They will all say x86_64 or none of them will say x86_64).
Any hardware that supports x86-64 also supports x86.
I think any Linux kernel that support x86-64 also supports x86 user programs, but a Linux distribution including an x86-64 kernel might not support x86 user programs (most such distributions do support x86 user programs, but it is possible for a distribution to not support x86).
I think any Linux kernel that support x86-64 also supports x86 user programs,
As long as it has been compiled with IA32_EMULATION enabled.
but a Linux distribution including an x86-64 kernel might not support x86 user programs (most such distributions do support x86 user programs, but it is possible for a distribution to not support x86).
The support in the userland is basically provided by making present the relevant libraries for 32 bits. The only thing you need os to add the directories containing the 32 bits libs to the LD_LIBRARY_PATH, that's usually done by adding them to /etc/ld.so.conf or similar.
However, if the distro has not at least some basic support (at least a multilib'ed glibc/libc6) it soon becomes a pain to maintain.