echo 'linuxhint.com' | base64 code example Example: echo encode base64 $ echo 'linuxhint.com' | base64