Sections
Do not generate Core (dump) files
Overview
By default, on Linux, when a program crashes, it generates a core.xxx file containing a lot of info on the memory at the time of the crash.Although useful to Debug, they are not useful in everyday life, because the files are quickly generating a lot of disk space.
Implementation
It is possible to stop generation of these files for a user when programs are launched through the console.Just add the following line:
ulimit -S -c 0 > /dev/null 2>&1on ~/.bashrc file