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?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Location
    Kolkata, India
    Posts
    9

    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 bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    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! bendib's Avatar
    Join Date
    Jul 2009
    Location
    &Imeuta >> 4.7777777777777777
    Posts
    21
    uname -s -r -p

  4. #4
    Just Joined! bendib's Avatar
    Join Date
    Jul 2009
    Location
    &Imeuta >> 4.7777777777777777
    Posts
    21
    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
  •