Skip to content

Instantly share code, notes, and snippets.

View juandspy's full-sized avatar
👨‍💻

Juan Díaz juandspy

👨‍💻
View GitHub Profile
@Killeroid
Killeroid / gpg-import-and-export-instructions.md
Created October 18, 2017 11:51
How to export and import gpg keys

Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.

Method 1

Gotten from the RedHat GPG migration manual

Backup the public and secret keyrings and trust database

## Export all public keys

gpg -a --export >mypubkeys.asc

@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active November 4, 2024 09:49
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line