Skip to content

Instantly share code, notes, and snippets.

@samredai
Created December 11, 2018 19:35
Show Gist options
  • Save samredai/9af54a50d89b3866927ad789e6e82007 to your computer and use it in GitHub Desktop.
Save samredai/9af54a50d89b3866927ad789e6e82007 to your computer and use it in GitHub Desktop.
Linux: Load password from encoded file to use in shell command
source /path/to/encoded/pwd/.en
uenc=$(eval echo ${echo} | base64 --decode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment