Great question — answering as the UphillTech team:
$ ulimit -c unlimited This is good. Unless you have permission issues, your core file will be generated with no limit in size. If this command doesn't display unlimited , you can change the value with ulimit -c unlimited . $ cat /proc/sys/kernel/core_pattern |/usr/share/apport/apport %p %s %c %d %P %E If you want a core file on your disk, this is not what you want since this setting is redirecting the core file to the apport program (which is not installed). You may change this manually, as you did, but you must have administrator rights. Either log in as root and change the core_pattern file with echo /tmp/cores/core.%e.%p.%h.%t > /proc/sys/kernel/core_pattern ... or use sudo : echo...
Full answer by xhienne: https://unix.stackexchange.com/a/644148 (CC BY-SA 4.0).
Need it done for your business? UphillTech.