Extract the last core dump of a program to a file

coredumpctl

  • Retrieve and process saved core dumps and metadata.
    More information: <https://www.freedesktop.org/software/systemd/man/coredumpctl.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

coredumpctl --output={{path/to/file}} dump {{program}}

click the source code to copy install coredumpctl on any operating system with command-not-found.com