1. From the terminal, type cd /etc. You should be in the etc directory.
2. Type sudo pico csh.cshrc and enter your password when prompted. This will open csh.cshrc, and allow you to edit the file.
3. Scroll to the end of the file and add the following line: limit coredumpsize 0 That's the line you would add to your .cshrc if you're just changing the settings for one user.
4. Hit Control-X, press Y, then Enter.
5. Restart your computer, or type limit coredumpsize 0 in the Terminal to have it take affect immediately.
If you ever decide that you need coredumps turned on temporarily, you can type unlimit coredumpsize in the Terminal. This will turn coredumps on for the duration of the shell. Or delete the line you just added in the .cshrc file completely.
|