From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:07:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E527F106566C for ; Tue, 16 Mar 2010 17:07:54 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id CFC958FC1F for ; Tue, 16 Mar 2010 17:07:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZD005RLWWTYZ80@asmtp023.mac.com> for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 10:07:51 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003160168 From: Chuck Swiger In-reply-to: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> Date: Tue, 16 Mar 2010 10:07:41 -0700 Message-id: References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> To: Martin McCormick X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 17:07:55 -0000 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