From owner-freebsd-questions Fri May 18 7:10:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web9406.mail.yahoo.com (web9406.mail.yahoo.com [216.136.129.22]) by hub.freebsd.org (Postfix) with SMTP id 216D437B423 for ; Fri, 18 May 2001 07:10:11 -0700 (PDT) (envelope-from eric_boucher60@yahoo.com) Message-ID: <20010518141010.32324.qmail@web9406.mail.yahoo.com> Received: from [207.164.184.163] by web9406.mail.yahoo.com; Fri, 18 May 2001 07:10:10 PDT Date: Fri, 18 May 2001 07:10:10 -0700 (PDT) From: Eric Boucher Subject: Prog.: Knowing the exit code in command line To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I wanted to know something. I remember that somebody told me that there were a way to know what is the exit code a command line return. For exemple, imagine that I've just type the command "ls -l" in a shell, if I want to know the integer that Unix just return after doing that command, what can I do? I think it's a simple command with the "$" symbol, but I didn't remember it. Thank you Eric __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message