>_ linuxcommand.dev
Startseite gpg
Security

gpg

GNU Privacy Guard - File encryption.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora macOS
Verified: 2026-05-10
Syntax
$gpg [OPTIONS] FILE
Examples
$gpg -c file.txt
$gpg -d file.txt.gpg
Typical use cases
?
Standard usage
gpg --help
Note Encryption and signing of files. OpenPGP standard.
Export