Current location - Health Preservation Learning Network - Slimming men and women - In which directory is the ubuntu core dump file located?
In which directory is the ubuntu core dump file located?
By default, Ubuntu does not create core files. Need to use an order

infinite

Allows you to generate a core dump and the size of the core file is not limited, and then you can find it in the same directory as the executable file.

However, the currently set ulimit is only valid for the current session. If you want the system to be effective, you need to make the following settings:

Add the following line to /etc/profile, which will allow the generation of the coredump file.

infinite