list orphan packages
pacman -Qtdq
remove the orphans
sudo pacman -Rns $(pacman -Qtdq)
to create a pastebin of whatever text you just copied
nc termbin.com 9999 | xclip -sel clip
replace oldstring by newstring
xclip -selection c -o | sed "s/oldstring/newstring/g" | xclip -sel clip;
i use it to type code in here, I highlight the code and code it with CTRL+S then replace 'spoiler' with 'code'
all these should be alias'd
>>100157430
came here to post this
to delete the cache except the 1 last version of packages
paccacke -rk1
works with 2, 3... Pacman's Arch wiki page has all the info