Find the answer to your Linux question:
Results 1 to 4 of 4
What terminal command shall I use to find out what OS (32-bit or 64-bit) is mounted? Is the command the same for debian-5.0.3, openSUSE-11.2 or ubuntu-8.0.4?...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Location
    Kolkata, India
    Posts
    8

    Type of OS?

    What terminal command shall I use to find out what OS (32-bit or 64-bit) is mounted?
    Is the command the same for debian-5.0.3, openSUSE-11.2 or ubuntu-8.0.4?

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    There are two commands you may be interested in. The first will give you the kernel and CPU architecture, the second will list the distribution and its respective details.
    Code:
    uname -mr
    cat /etc/*release

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    16
    uname -s -r -p

  4. #4
    Just Joined!
    Join Date
    Jul 2009
    Posts
    16
    On second thought, uname -a gives it ALL.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...