• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ️ Info: The website has been modernized to improve readability and smartphone compatibility. Feel free to report any bugs using the contact form

    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>&1
    on ~/.bashrc file

     

    Go Back



    (c) 2005-2025 Jérôme DESMOULINS
    Data privacy