Date: Fri, 23 Nov 2001 18:33:52 -0500 From: Matthew Graybosch <matthew@starbreaker.net> To: Steve Brown <gtabug@prayforwind.com> Cc: freebsd-questions@freebsd.org Subject: Re: .CORE files Message-ID: <200111231827.55158@starbreaker.net> In-Reply-To: <20011123182901.A529@prayforwind.com> References: <20011123182901.A529@prayforwind.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111231827.55158>