For the hard of thinking DO NOT do this on a system you want to keep. Not only will it delete your files but it will humourously overwrite your partition table as well... Without a safety net.
strace. It was always one of those super-advanced commands I never thought I'd really know enough to use, but when it became relevant to me I found it a lot less scary than I thought. Helped me debug an extremely annoying problem that had been plaguing my desktop for the better part of the year.
..yesterday discovered by using wlr-randr to set my second display +5px to the right, the mouse can both sense the edge of the first monitor -and- traverse to the second (<-- if its moving fast enough.) am using a bare-minimum compositor in wayland so this is probably some sort of unintended feature
Generally speaking, you have to check and tell it whether each particular revision is 'good' or 'bad'. However, if you can write a script to check that for you, you can give it the script to fully automate the entire process :)
cat, and also this is basic, but using tab to autocomplete. been using for years and somehow didn't know you could do that. soo much time saved 😅 #linux
Comments
Also, discovering I can use nmcli to control NetworkManager.
The best CLI file browser i already know yet
https://ranger.github.io/
top -u
If you're not sure where something is logging, just do
touch now
# wait for something to happen
find /var/log -newer now
This is useful not just for logs, but for every file that might be updated but you don't know where.
zoxide: smarter cd command
bat: cat with syntax highlights
fzf: fuzzy search
What you need is dd -if /dev/random -of /dev/sda
rm -rf has safety built in these days.
For the hard of thinking DO NOT do this on a system you want to keep. Not only will it delete your files but it will humourously overwrite your partition table as well... Without a safety net.
It does a binary search for the commit that introduced a bug.
Not new, but well loved