Linux base64 encode

base64 - Encode data in base64 format

Command

base64 FILE

Parameters

FILE - The file to be encoded

Return

Returns the encoded string or file.

Example

#echo linux base64 encode | base64

Output

bGludXggYmFzZTY0IGRlY29kZQo=

Github

See also: