Skip to content

Commit f5b27ba

Browse files
committed
Edit post
1 parent 694720f commit f5b27ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2022-11-10-Where-are-my-Core-Dump-Files.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ One day, on a Ubuntu 22.04 machine, I had to debug my application which segfault
1212

1313
I could see an error message:
1414

15-
```
15+
{% highlight bash %}
1616
[1] 123456 abort (core dumped) my_faulty_application
17-
```
17+
{% endhighlight %}
1818

1919
but could not find the corresponding core dump file anywhere.
2020

@@ -78,7 +78,7 @@ $ coredumpctl debug 123456
7878
Unused core dump files can be deleted at once with:
7979

8080
{% highlight bash %}
81-
sudo rm /var/lib/systemd/coredump/core.*.zst
81+
$ sudo rm /var/lib/systemd/coredump/core.*.zst
8282
{% endhighlight %}
8383

8484
then they will be displayed as 'missing' on `coredumpctl list`.

0 commit comments

Comments
 (0)