Page 1 of 1

How to determine what Linux version I have and if it's 64 bit or not …

How to determine what Linux version I have and if it's 64 bit or not …

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.




RSS Feed

Home Forums Software Linux Software How to determine what Linux version I have and if it's 64 bit or not …

This topic contains 1 reply, has 1 voice, and was last updated by  hans 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • 670

    hans
    Keymaster

    I was trying to figure out what Linux version I was using and I noticed that Linux could use uniformity improvements. 

    Anyhow, a few tricks:

    cat /etc/*-release

    This could show the version of your OS, you can expect an output like:

    CentOS release 5.6 (Final)

    To determine the kernel version:

    uname -r

    This displays something like:

    2.6.18

    Is my system 64 bits? Try this:

    uname -m

    Which can produce something like this (in this example: an Intel x86, 64 bit system):

    x86_64

    Anyhow .. hope this is useful to someone out there .

    2197

    hans
    Keymaster

    For those working with Ubuntu, you can also try:

    file /sbin/init

    Which could give you something like this:

    /sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x07075fcb55b05aeb6286efabba63534fa6ecd213, stripped

Viewing 2 posts - 1 through 2 (of 2 total)



You must be logged in to reply to this topic.