[ILUGC] GNU/Linux commands - base64

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Fri, 16 Sep 2016 19:00:12 +0530

Hi,
base64 - encode/decode data and print to standard output

$ echo 'welcome to ilugc mailing list' | base64

d2VsY29tZSB0byBpbHVnYyBtYWlsaW5nIGxpc3QK.

to encode data text to base64

$ echo 'd2VsY29tZSB0byBpbHVnYyBtYWlsaW5nIGxpc3QK' | base64 -d

to decode data text.

$ echo 'd2VsY29tZSB0byBpbHVnYyBtYWlsaW5nIGxpc3QK' | base64 -w 5

to wrap the encode data lines to 5

$ echo 'sadfasfas2342342sdfadsf234324' | base64 -i

when decoding, ignore non-alphabet characters


regards,

T.Dhanasekar


_____________________________________
ILUGC List: http://www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts:

  • » [ILUGC] GNU/Linux commands - base64 - Dhanasekar