TLDR
Enter a command. For example: tail, chflags, xed, coreaudiod.

base64

 
Encode and decode using Base64 representation. More information: https://www.unix.com/man-page/osx/1/base64/.
 
  • Encode a file:
     
    base64 --input={{plain_file}}
     
  • Decode a file:
     
    base64 --decode --input={{base64_file}}
     
  • Encode from stdin:
     
    echo -n "{{plain_text}}" | base64
     
  • Decode from stdin:
     
    echo -n {{base64_text}} | base64 --decode

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.