| info |
| name | base64 |
| full name | base64 |
| aliases | base64 |
| tags | base64 |
echo VGVzdEJhc2U2NA== | base64 --decode
echo -n "PASSWORD" | base64 # 인코딩(개행없이)
$ cat test.txt
VGVzdEJhc2U2NA==
$ base64 --i test.txt --decode
TestBase64
base64 --help
Usage: base64 [OPTION]... [FILE]
Base64 encode or decode FILE, or standard input, to standard output.
<파일>이 주어지지 않거나 - 이면 표준 입력을 읽습니다.
Mandatory arguments to long options are mandatory for short options too.
-d, --decode decode data
-i, --ignore-garbage when decoding, ignore non-alphabet characters
-w, --wrap=COLS wrap encoded lines after COLS character (default 76).
Use 0 to disable line wrapping
--help 이 도움말을 표시하고 끝냅니다
--version 버전 정보를 출력하고 끝냅니다
The data are encoded as described for the base64 alphabet in RFC 4648.
When decoding, the input may contain newlines in addition to the bytes of
the formal base64 alphabet. Use --ignore-garbage to attempt to recover
from any other non-alphabet bytes in the encoded stream.
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>
Full documentation <https://www.gnu.org/software/coreutils/base64>
or available locally via: info '(coreutils) base64 invocation'