mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 01:35:32 +02:00
add base64 page for linux
This commit is contained in:
parent
c1a409e8c1
commit
487478b537
1 changed files with 19 additions and 0 deletions
19
pages/linux/base64.md
Normal file
19
pages/linux/base64.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# base64
|
||||||
|
|
||||||
|
> Encode or decode file or standard input, to standard output.
|
||||||
|
|
||||||
|
- Encode a file
|
||||||
|
|
||||||
|
`base64 {{filename}}`
|
||||||
|
|
||||||
|
- Decode a file
|
||||||
|
|
||||||
|
`base64 -d {{filename}}`
|
||||||
|
|
||||||
|
- Encode from stdin
|
||||||
|
|
||||||
|
`{{somecommand}} | base64`
|
||||||
|
|
||||||
|
- Decode from stdin
|
||||||
|
|
||||||
|
`{{somecommand}} | base64 -d`
|
Loading…
Add table
Reference in a new issue