#How to find/debug issues, bugs in linux? Any books or videos or courses or resources?

7 messages · Page 1 of 1 (latest)

inland leaf
#

So I have been using linux for about 6 years now. I feel like home using it. I used many distros in all these years like ubuntu, debian, popos, fedora, manjaro, zorinos (in no order) and now I'm on endeavouros. Popos and fedora were the most time i spent on. But eventually sooner or later some bug creeps into the system. Then I would hop to another distro. So since one year, no matter what distro I use, I encounter this issue of suddenly my screen goes blank when I locked aside for some time. Not every time I lock it, but some times it goes blank with black screen. And I force restart and use it normally again. I have change enough distros to say, that isn't any distro specific issue.

But recently I decided myself, that I need to level up and whenever some issue pops, i should find and fix it and not distrohopp. So how to find/debug issues, bugs in linux? Any books or videos or courses or resources?

I have researched myself via chatgpt, youtube, udemy and all they say is look into logs. And I tried but could understand what to look for? It is all messy. So how to find/debug issues, bugs in linux? Any books or videos or courses or resources?

quiet vine
#

DMESG is your best friend

#

However, Linux is a large and broad system, in which any number of things can go wrong

#

The easiest way to "fix" a problem is to just take btrfs snapshots and restore to one when something breaks

inland leaf
#

My present bug exists from the very first install of different distros i tried. So snapshots won't work for me.

And also I want to understand the reason behind the bug first. Then if possible, try to fix it. If not, raise an issue. This is the path I'm look for.

quiet vine
#

The only thing you can do is dmesg / journalctl into your search engine of choice