4 ms·
It works by killing the inner shell. The outer shell remains alive, so that it can print the "core dumped" message. If you don't mind losing your current shell
by jwilk 5y ago
It works by killing the inner shell. The outer shell remains alive, so that it can print the "core dumped" message.
If you don't mind losing your current shell and don't care about the message, you can use just:
$ kill -ABRT $$
- deleted 5y ago[deleted]