base64 encode command line code example
Example 1: linux decode base64 terminal
//Encode
echo 'linuxhint.com' | base64
//Decode
echo 'bGludXhoaW50LmNvbQo=' | base64 --decode
Example 2: echo encode base64
$ echo 'linuxhint.com' | base64
//Encode
echo 'linuxhint.com' | base64
//Decode
echo 'bGludXhoaW50LmNvbQo=' | base64 --decode
$ echo 'linuxhint.com' | base64