Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

Chuck Swiger cswiger at mac.com
Tue Mar 16 17:07:55 UTC 2010


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



More information about the freebsd-questions mailing list