_____  _____  _____  __ __    ____   ___  _____  __ __  __  __ 
/  _  \/  _  \/     \/  |  \  /  _/  /___\/  _  \/  |  \/  \/  \
|  _  ||  _  <|  |--||  _  |  |  |---|   ||  |  ||  |  |>-    -<
\__|__/\__|\_/\_____/\__|__/  \_____/\___/\__|__/\_____/\__/\__/

arch.sh

# arch linux lazydog

# find where a program is installed
pacman -Ql [package name]

# list installed packages
pacman -Q
yay -Q

# To remove all files from the cache, use the clean switch twice, this is the most aggressive approach and will leave nothing in the cache directory
pacman -Scc
yay -Scc

# remove orphans
yay -Yc


# Update mirrorlist with the fastest mirrors
sudo pacman-mirrors --fasttrack 

balasjdlfakjsdlfkjasd alsjdflö alksjdö f

roots are nice and treees