Skip to content

Instantly share code, notes, and snippets.

@duluca
Last active September 11, 2018 14:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duluca/5b9f2ee7ed2fc15a3280d9f5141b7fc0 to your computer and use it in GitHub Desktop.
Save duluca/5b9f2ee7ed2fc15a3280d9f5141b7fc0 to your computer and use it in GitHub Desktop.
Commonly Used, but Oft-Forgotten CLI Commands

Commonly Used, but Oft-Forgotten CLI Commands

MacOS

  • zip -e my_zip_file.zip your_original_file.docx

SSH

  • ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • eval "$(ssh-agent -s)"
  • ssh-add -K ~/.ssh/id_rsa use this to add existing key to your terminal session

Git

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