Then the other day I was actually trying to use a core file for the gdb strack trace and I forgot where they go. I came across this article. Check it out:
$ sudo du -s /cores/16712928 /cores/
Yow. 16GB worth of core files. That's a lot of disk space to misplace. Of course core files are disabled by default, but if you're a developer like me you might have enabled it in your ~/.profile by adding the following:
#Allow core filesulimit -c unlimited
And if you're a scatterbrain like me you might have forgotten you did that.