Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How can I know my Linux is running 32-bit or 64-bit?  (Read 3517 times)

0 Members and 1 Guest are viewing this topic.

Stan Huang

    Topic Starter


    Beginner

    • Experience: Experienced
    • OS: Windows 7
    How can I know my Linux is running 32-bit or 64-bit?
    « on: September 17, 2013, 09:41:44 PM »
    As title. Is there any command to know it? Can uname satisfy this question?

    Ken S



      Starter

      Thanked: 1
      • Experience: Experienced
      • OS: Linux variant
      Re: How can I know my Linux is running 32-bit or 64-bit?
      « Reply #1 on: September 30, 2013, 04:41:38 AM »
      My computer is running 64 bit Ubuntu. Here is the result of executing uname:
      ken@COMPAQ-CQ57:~$ uname -p
      x86_64
      ken@COMPAQ-CQ57:~$

      Notice x86_64. I'm not certain, but I think a 32bit machine will display i386. uname -p shows processor type. Any terminal you can open should be able to execute uname. The command arch will achieve the same.
      Executing man uname will display all the options, spacebar will move on a page.