Skip to content

Instantly share code, notes, and snippets.

@Gabri
Last active June 9, 2021 08:46
Show Gist options
  • Save Gabri/1b93f11e800c68c0b289f6318bde4dc5 to your computer and use it in GitHub Desktop.
Save Gabri/1b93f11e800c68c0b289f6318bde4dc5 to your computer and use it in GitHub Desktop.
[Linux] arch linux snippets #linux #arch
# How to list all auto-start services in archlinux?
systemctl list-unit-files | grep enabled && systemctl --user list-unit-files | grep enabled
# How to find out mount/partition a directory or file is on?
df -P file/goes/here | tail -1 | cut -d' ' -f 1
# add GPG key (ERROR: One or more PGP signatures could not be verified!)
gpg --recv-key gpg --recv-key D1742AD60D811D58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment