cross-posted from: https://lemmy.today/post/3418985
I recently got into Arch Linux via EndeavourOS. I’m trying to find a way to remember all the Pacman and Yay commands, but I’m not able to find a good approach to remembering most of the commands.
Does anybody have any mnemonics to help with this? For example, how did you remember that
Yay -Ycwas the command to remove all unneeded dependencies?


According to the manpage
--Yay --cleanis the thought behind it, its a Yay specific shortcut forpacman -Rs $(pacman -Qqdt)Remove recursive what theQueryquiet (short names) on thedatabase lists as unrequiredtNow
-Ycdoes not sound that bad.It is still good to learn the verbose commands for pacman/paru/yay from the manpages, once you are familiar with them its easy to build more advanced commands for special use-cases.