From owner-freebsd-questions Tue Dec 1 10:04:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25116 for freebsd-questions-outgoing; Tue, 1 Dec 1998 10:04:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25103 for ; Tue, 1 Dec 1998 10:04:45 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #3) id 0zktd4-0007Nw-00; Tue, 1 Dec 1998 17:30:26 +0000 Date: Tue, 1 Dec 1998 17:30:26 +0000 From: Ben Smithurst To: Donn Miller Cc: freebsd-questions@FreeBSD.ORG Subject: Re: using "strip" on aout exe Message-ID: <19981201173026.A28347@scientia.demon.co.uk> References: <36630CA2.D79B2734@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <36630CA2.D79B2734@bellatlantic.net> User-Agent: Mutt/0.94.17i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Donn Miller wrote: > How do you use "strip" on a non-elf (aout) executable? When I try it on > a non-elf exe (FreeBSD-3.0) it says file format not recognized. > > I checked man strip but couldn't find anything. strip -aout someexecutable Note that this works with other things, anything which is a hard link to /usr/bin/objformat and has the "real" executable in /usr/libexec/{aout,elf}/ > Also, where's lsof? /usr/ports/sysutils/lsof -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message