Difference between revisions of "Base64 (command)"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://linux.die.net/man/1/base64 | https://linux.die.net/man/1/base64 | ||
− | * <code>base64</code> command is included in <code>[[coreutils]]</code> package | + | * <code>base64</code> (<code>/usr/bin/base64</code>) command is included in <code>[[coreutils]]</code> package |
− | |||
* <code>base64 --input inputfile.txt --output output.txt</code> | * <code>base64 --input inputfile.txt --output output.txt</code> | ||
* <code>[[base64 --decode]]</code> | * <code>[[base64 --decode]]</code> | ||
Line 28: | Line 27: | ||
[2]+ Stopped base64 | [2]+ Stopped base64 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[base64 --help (macOS)]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Errors == | == Errors == | ||
− | + | base64 --input yourinput.txt --output youroutput.txt | |
base64: unrecognized option '--input' | base64: unrecognized option '--input' | ||
− | Try 'base64 --help' for more information. | + | Try '[[base64 --help]]' for more information. |
== Related == | == Related == |
Revision as of 14:41, 9 January 2024
wikipedia:Base64 binary-to-text encoding https://linux.die.net/man/1/base64
base64
(/usr/bin/base64
) command is included incoreutils
packagebase64 --input inputfile.txt --output output.txt
base64 --decode
echo -n 'YOUR_TEST' | base64
base64 -w 0 base64 -D / base64 -d / base64 --decode
echo 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDEbKq5U57fhzQ3SBbs3NVmgY2ouYZfPhc6cXBNEFpRT3T100fnbkYw+EHi76nwsp+uGxk08kh4GG881DrgotptrJj2dJxXpWp/SFdVu5S9fFU6l6dCTC9IBYYCCV8PvXbBZ3oDZyyyJT7/vXSaUdbk3x9MeNlYrgItm2KY6MdHYEg8R994Sspn1sE4Ydey5DfG/WNWVrzFCI0sWI3yj4zuCcUXFz9sEG8fIYikD9rNuohiMenWjkj6oLTwZGVW2q4wRL0051XBkmfnPD/H6gqOML9MbZQ8D6/+az0yF9oD61SkifhBNBRRNaIab/Np7XD61siR8zNMG/vCKjFGICnp' | base64 -D | md5 6530389635564f6464e8e3a47d593e19
kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
base64 -d > certs/file.pfx
::-d --decode
base64 (no output) [2]+ Stopped base64
base64 --help (macOS)
Errors
base64 --input yourinput.txt --output youroutput.txt base64: unrecognized option '--input' Try 'base64 --help' for more information.
Related
openssl base64
openssl rand -base64 24
- SAML
pbcopy
base64decode
Terraform functionkubectl describe secret
Serialized
See also
Advertising: