WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2026 Poal.co

1.2K

I found this watching a video. If you are using a command a few times or just switching through them you can hit the up arrow and it'll show the prior commands last one first etc. So you need to use a command you used 3 commands ago but not the exact same command. You then at the prompt push the up arrow 3 times or till you get to that command, then the back arrow till you get to the end of what you want to change then backspace and type in the changed part and then hit enter. It's so much faster than typing the entire command over and over or having to look it up again if your really new.

I found this watching a video. If you are using a command a few times or just switching through them you can hit the up arrow and it'll show the prior commands last one first etc. So you need to use a command you used 3 commands ago but not the exact same command. You then at the prompt push the up arrow 3 times or till you get to that command, then the back arrow till you get to the end of what you want to change then backspace and type in the changed part and then hit enter. It's so much faster than typing the entire command over and over or having to look it up again if your really new.

(post is archived)

[–] 0 pt

What does ctrl r do or !?

ctrl + r searches through the commands entered earlier, useful if you have similar commands with long paths

!? is the same command entered with the same beginning, you shouldn't do it with rm

I try to avoid command like rf rm unless in certain contexts. I used that to clean my old grub files out of boot/efi last month and then I could actually install OS's again with the old grub entries gone to free up enough space.