티스토리 뷰

728x90
 seunggabi@seunggabi  ~  echo 'test' | base64 -w0
dGVzdAo=
 seunggabi@seunggabi  ~  echo 'dGVzdAo=' | base64 --decode
test
 seunggabi@seunggabi  ~ 

https://linuxhint.com/bash_base64_encode_decode/

 

Bash base64 encode and decode

I am a trainer of web programming courses. I like to write article or tutorial on various IT topics. I have a YouTube channel where many types of tutorials based on Ubuntu, Windows, Word, Excel, WordPress, Magento, Laravel etc. are published: Tutorials4u H

linuxhint.com

https://stackoverflow.com/questions/65861283/linux-base64-encoded-value-produces-spaces

 

Linux Base64 encoded value produces spaces

I have the following bash script TOKEN=$(aws ecr get-login-password --region us-east-2) echo $TOKEN USERNAME="AWS" ENCODE_ME="${USERNAME}:${TOKEN}" echo $ENCODE_ME BASE_64_E...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[Java] Garbage Collection  (0) 2021.12.08
[Java] reverse String  (0) 2021.12.07
[Java] Base64 encode & decode & isBase64  (0) 2021.12.07
[JavaScript] remove tags  (0) 2021.11.29
[Linux] download wget `url`  (0) 2021.11.28
댓글