Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 10:07:41 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?
Message-ID:  <E5891E70-4C9E-4E7D-BBE9-BFE4F42ED103@mac.com>
In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu>
References:  <201003161702.o2GH2lIV054685@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 16, 2010, at 10:02 AM, Martin McCormick wrote:
> 	Is there a FreeBSD command similar to the Linux arch command?

POSIX provides `uname -m`...?  You should get either i386 or amd64, depending on whether the system is running that architecture.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5891E70-4C9E-4E7D-BBE9-BFE4F42ED103>