From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 04:38:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FBF816A4CE for ; Wed, 7 Jan 2004 04:38:50 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 747AC43D1F for ; Wed, 7 Jan 2004 04:38:49 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.24; FreeBSD) id 1AeCxT-0001rR-EW; Wed, 07 Jan 2004 12:38:47 +0000 Date: Wed, 7 Jan 2004 12:38:47 +0000 From: Jez Hancock To: gffds fsdff Message-ID: <20040107123847.GA6885@users.munk.nu> Mail-Followup-To: gffds fsdff , questions@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: questions@FreeBSD.org Subject: Re: .bin executable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 12:38:50 -0000 On Wed, Jan 07, 2004 at 11:03:22AM +0000, gffds fsdff wrote: > How would I go about executing hlds_l_1120_full.bin (STEAM) in order to > extract it. I have also tried non-steam hlds_l_3110_full.bin with no > success, however due to STEAM taking impact on modifications I must now use > STEAM. >From the commandline: sh hlds_l_1120_full.bin Alternatively you could make the file executable: chmod +x hlds_l_1120_full.bin and then run it: ./hlds_l_1120_full.bin although this depends on the shebang line (first line in the .bin file) being set correctly to reflect the interpreter to use to execute the file. IIRC that .bin file for hlds is just a shar archive (shell executable archive). -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/ - ipfw peruser traffic logging