Skip to content

Instantly share code, notes, and snippets.

@hamitozdemir
Last active March 10, 2019 07:51
Show Gist options
  • Save hamitozdemir/521ce32a316644207795bf77982d323e to your computer and use it in GitHub Desktop.
Save hamitozdemir/521ce32a316644207795bf77982d323e to your computer and use it in GitHub Desktop.
Some pacman commands noted down from @LukeSmithxyz's video
sudo pacman -Syu # Sy: apt-get update & Su: apt-get upgrade
sudo pacman -Rns $program # s: remove dependencies & n: remove root config files
$cmd | wc -l # wordcount by lines
pacman -Qe # query installed programs by you or programs you installed
pacman -Qeq # same without version number, could also apply to other things
# /etc/pacman.conf # configuration location
# Color # colours in pacman output
# VerbosePkgLists # detailed listing
# ILoveCandy # pacman instead of loading
# /etc/pacman.d/mirrorlist # mirror list
sudo pacman -Sc # clear cache
@hamitozdemir
Copy link
Author

.sh extension is so that comments get a different colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment