From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 13:14:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB8A3179 for ; Thu, 18 Dec 2014 13:14:09 +0000 (UTC) Received: from freebsd.crowsnest.tk (crowsnest.tk [188.116.52.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "nest", Issuer "nest" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 167C51470 for ; Thu, 18 Dec 2014 13:14:08 +0000 (UTC) Received: from freebsd.crowsnest.tk (localhost [127.0.0.1]) by freebsd.crowsnest.tk (8.14.9/8.14.9) with ESMTP id sBICusB2012162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Dec 2014 13:56:54 +0100 (CET) (envelope-from crow@localhost.crowsnest.tk) Received: (from crow@localhost) by freebsd.crowsnest.tk (8.14.9/8.14.9/Submit) id sBICurGr012161; Thu, 18 Dec 2014 13:56:53 +0100 (CET) (envelope-from crow) Date: Thu, 18 Dec 2014 13:56:53 +0100 From: Carrion Crow To: Rolf Nielsen Subject: Re: Finding 32-bit binaries Message-ID: <20141218125653.GA12129@freebsd.crowsnest.tk> References: <54923141.4090209@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <54923141.4090209@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 13:14:09 -0000 Hi, Maybe try something like this: for DIR in /bin /sbin /usr/local/bin /usr/local/sbin; do for BIN in $DIR/*;= do file $BIN; done | grep '32-bit'; done --=20 Carrion Crow ----------------- "UNIX is basically a simple operating system,=20 but you have to be a genius to understand the simplicity." -- Dennis Ritchie