How to tell if you're running 64-bit Linux

For some reason I have been asked this several times over the last two weeks. It is a simple enough thing to determine:


mindflayer@wraith:~$ uname -a Linux wraith.foo.com 2.6.15-29-amd64-generic #1 SMP PREEMPT Wed Aug 29 13:24:06 UTC 2007 x86_64 GNU/Linux

You can tell by the kernel release name – which can be printed alone with a uname -r – which shows 2.6.15-29-amd64-generic. In addition, the machine type uname -m shows x86_64. This is a 64-bit host.

Like I said, pretty basic stuff.

Now listening: The Hand That Feeds by NIN

Advertisement
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.