Dave's Brain

Browse - Computer Tips - How do I enable/disable core dumps?

Date: 2009jan24
OS: Linux
Product: bash

Q.  How do I enable/disable core dumps?

A.  Core dumps are every useful for debugging crashes but they can
create clutter also.

Enable this way:

ulimit -c unlimited
Disable this way:
ulimit -c 0
You can put either of these commands in your ~/.bashrc file if you wish.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.