System Grab Bag

View all TLDR pages from common (or from all pages)

basenc

Encode or decode file or stdin using a specified encoding, to stdout. More information: https://www.gnu.org/software/coreutils/basenc.
  • Encode a file with base64 encoding:
    basenc --base64 {{path/to/file}}
  • Decode a file with base64 encoding:
    basenc --decode --base64 {{path/to/file}}
  • Encode from stdin with base32 encoding with 42 columns:
    {{command}} | basenc --base32 -w42
  • Encode from stdin with base32 encoding:
    {{command}} | basenc --base32

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.