From owner-freebsd-questions Fri Nov 23 15:26:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from IMGate1.cshore.com (imgate1.cshore.com [63.237.136.14]) by hub.freebsd.org (Postfix) with ESMTP id 2D8A737B405 for ; Fri, 23 Nov 2001 15:26:29 -0800 (PST) Received: from there (dialup-uu-dynamic27.cshore.com [63.112.158.27]) by IMGate1.cshore.com (Postfix) with SMTP id 4C65323F3A; Fri, 23 Nov 2001 18:51:06 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Matthew Graybosch Reply-To: matthew@starbreaker.net Organization: starbreaker.net Message-Id: <200111231827.55158@starbreaker.net> To: Steve Brown Subject: Re: .CORE files Date: Fri, 23 Nov 2001 18:33:52 -0500 X-Mailer: KMail [version 1.3] References: <20011123182901.A529@prayforwind.com> In-Reply-To: <20011123182901.A529@prayforwind.com> Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 23 November 2001 18:29, you wrote: > - How can I find -ALL- *CORE files, is there an equivalent > of the old MS DOS "dir /s" ? Use "ls -R *.core" to find all core dumps, starting in your current directory. If you don't know what your current directory is, type "pwd" to display it. You can also type "cd" by itself to move immediately to your /home directory. Read "man ls", "man pwd", and "man cd" for more information. > - Why does it "dump core"? Am I supposed to do something > with the resulting file? Core dumps are mainly for debugging. A skilled C/C++ programmer can run a core dump through a debugger like gdb in order to find out why a program crashed. Unless you want to try to trace a bug using a core dump, it's usually safe to find them all and remove them using the rm command. Better read "man rm" as well. Oh, and whatever you do, don't type "rm -rf /" as root unless you REALLY REALLY *REALLY MEAN IT*. Doing so will nuke everything on your hard drive(s). - -- Matthew Graybosch http://www.starbreaker.net GnuPG Key ID: 0x7D488659 "Sex, Unix, and rock 'n roll" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7/tzgcCiK1X1IhlkRAjPEAJ9u0mA5gNEjGAWyNFNudNPvJ1rRJgCePQAZ D72prJcMa85u46KBdY3Pn9w= =app0 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message