1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
---
title: PRIVATEBIN
header: Privatebin Manual
footer: 1.0.0
date: Jan 20, 2022
section: 1
---
# NAME
**privatebin** – manage privatebin pastes with simple shell command
# SYNOPSIS
**privatebin** [-h | -\-help] [-v | -\-version] [-\-bin=\<name\>]\
\ \ \ \ \ \ \ \ \ \ \ [-\-config=\<filename\>] [-\-header=\<key=value\>]\
\ \ \ \ \ \ \ \ \ \ \ [-\-output=\<format\>] \<command\> [\<args\>]
# DESCRIPTION
A minimalist, open source command line interface for **PrivateBin**
instances.
# OPTIONS
**-h, -\-help**
: Show help message.
**-v, --version**
: Prints the privatebin cli version.
**-b, -\-bin** \<name\>
: The privatebin instance name.
**-c, -\-config** \<path\>
: The path of the configuration file (default
"~/.config/privatebin/config.json").
**-H, -\-header** \<key=value\>
: The extra HTTP header fields to include in the request sent.
**-o, -\-output** \<format\>
: The output format can be \"\" or \"json\" (default \"\").
# COMMANDS
**privatebin-create(1)**
: Create a paste
**privatebin-show(1)**
: Show a paste
# EXIT STATUS
The **privatebin** utility exits 0 on success, and >0 if an error
occurs.
# EXAMPLES
Create a paste on the default privatebin instance:
$ cat example.txt | privatebin create
# SEE ALSO
**privatebin.conf**(5)
# AUTHORS
Bryan Frimin.
|