Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try <a href="http://linuxmanpages.net/manpages/fedora16/man1/uname.1.html" rel="noreferrer"><code>uname -m</code></a>. Which is short of <code>uname --machine</code> and it outputs: </p> <pre><code>x86_64 ==&gt; 64-bit kernel i686 ==&gt; 32-bit kernel </code></pre> <hr> <p>Otherwise, <strong>not for the Linux kernel, but for the CPU</strong>, you type:</p> <pre><code>cat /proc/cpuinfo </code></pre> <p>or:</p> <pre><code>grep flags /proc/cpuinfo </code></pre> <p>Under "flags" parameter, you will see various values: see "<a href="https://unix.stackexchange.com/a/43540">What do the flags in /proc/cpuinfo mean?</a>" Among them, one is named <code>lm</code>: <code>Long Mode</code> (<a href="http://en.wikipedia.org/wiki/X86-64" rel="noreferrer">x86-64</a>: amd64, also known as Intel 64, i.e. 64-bit capable)</p> <pre><code>lm ==&gt; 64-bit processor </code></pre> <p>Or <a href="http://linux.die.net/man/1/lshw" rel="noreferrer">using <code>lshw</code></a> (as mentioned <a href="https://stackoverflow.com/a/32717681/6309">below</a> by <a href="https://stackoverflow.com/users/4637585/rolf-of-saxony">Rolf of Saxony</a>), without <code>sudo</code> (just for grepping the cpu width):</p> <pre><code>lshw -class cpu|grep "^ width"|uniq|awk '{print $2}' </code></pre> <p><strong>Note: you can have a 64-bit CPU with a 32-bit kernel installed</strong>.<br> (as <a href="https://stackoverflow.com/users/637866/ysdx">ysdx</a> mentions in <a href="https://stackoverflow.com/a/32665383/6309">his/her own answer</a>, "Nowadays, a system can be <strong><a href="https://wiki.debian.org/Multiarch" rel="noreferrer">multiarch</a></strong> so it does not make sense anyway. You might want to find the default target of the compiler")</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload