Skip to content

Bash Quick Notes

base64

bash
# Encode
echo "text" | base64

# Decode
echo "dGV4dAo=" | base64 -d

Note: "$VAR..." - Variables with double quotes can render only when evaluated.

Released under the MIT License.