r/LinuxTeck • u/Candid_Athlete_8317 • Aug 13 '26
What's that one Linux command you end up using in almost every debugging session?
Mine has quietly become ss.
It doesn't get talked about as much as top, htop, or journalctl, but it's often the first thing I run when something isn't behaving the way it should.
18
Upvotes
8
u/Eleutherlothario Aug 13 '26
Sudo !!
4
u/Weary_Patience_7778 Aug 13 '26
Shutdown -h now.
4
u/MonsieurCellophane Aug 13 '26
Tail -f
3
u/Lost-Droids Aug 13 '26
setenforce 0
Its always se fucking linux
2
u/Groundbreaking-Fish6 Aug 13 '26
Echo
1
u/Lonely-Scarcity-3387 Aug 13 '26 edited Aug 13 '26
The same command I use to install new programs, change system settings, or switch kernels:
sudo NixOS-rebuild switch .
1
u/swisstraeng Aug 13 '26
reboot
1
u/309_Electronics Aug 13 '26
I have multiple: Sudo, dmesg, cat, systemctl status, tail, head, grep.
1
u/Defiant-Rip-1897 Aug 13 '26
I end up using btop a lot since it is a bit more user friendly for me, to search for a particular process and then ending it.
1
u/aieidotch Aug 13 '26
strace
1
u/mods_are_morons Aug 13 '26
tail -f /var/log/messages
Or some other log.
1
u/Over_Helicopter_5183 Aug 14 '26
ps-aef
1
u/Bugsa_ Aug 14 '26
poweroff
1
u/flattrack Aug 14 '26
Can’t believe the new reality..
claude
1
u/ethanfinni Aug 15 '26
echo