PRIVATEBIN(1)

πŸ“¦
version 2.2.1 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ¦‹ PRIVATEBIN(1) β€” the manual page, but make it cute πŸ¦‹

okay so this is the man page for privatebin, section 1 of the Privatebin Manual, and it's literally the bestie you needed for managing PrivateBin pastes right from your shell. no cap πŸ’–

✨ NAME ✨

privatebin β€” manage privatebin pastes with a simple shell command πŸ’…

✨ SYNOPSIS ✨

privatebin [-h | --help] [-v | --version] [--bin=<name>]
           [--config=<filename>] [--header=<key=value>]
           [--output=<format>] [--proxy=<url>]
           <command> [<args>]

✨ DESCRIPTION ✨

A minimalist, open source command line interface for PrivateBin instances. that's it, that's the whole vibe 🫢


✨ OPTIONS ✨

  • -h, --help β€” show the help message. when you're lost, this is your emotional support flag πŸ₯Ί
  • -v, –version β€” prints the privatebin cli version. gotta know which era you're in ✨
  • -b, --bin <name> β€” the privatebin instance name. pick your fave ✨
  • -c, --config <path> β€” the path of the configuration file. when you don't set it, the CLI goes hunting through HOME/.config/privatebin/config.json, then XDG_CONFIG_HOME/privatebin/config.json, then the platform-native user configuration directory, and finally the directories listed in $XDG_CONFIG_DIRS (peep privatebin.conf(5) for the full deets). it's giving scavenger hunt πŸ”
  • -H, --header <key=value> β€” the extra HTTP header fields to include in the request sent. custom headers? iconic πŸ‘‘
  • -o, --output <format> β€” the output format can be "" or "json" (default ""). choose your fighter πŸ’…
  • --proxy <url> β€” proxy URL to use for requests. supports HTTP, HTTPS, and SOCKS5 schemes (e.g. socks5://127.0.0.1:9050 for TOR πŸ§…). this flag overrides the proxy value from the configuration file and the HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY environment variables. main character energy fr fr

✨ COMMANDS ✨

✨ EXIT STATUS ✨

the privatebin utility exits 0 on success, and >0 if an error occurs. zero means slay, anything bigger means 😭

✨ EXAMPLES ✨

create a paste on the default privatebin instance:

$ cat example.txt | privatebin create

create a paste through a SOCKS5 proxy (e.g. TOR):

$ cat example.txt | privatebin --proxy socks5://127.0.0.1:9050 create

✨ ENVIRONMENT ✨

  • XDG_CONFIG_HOME β€” user-specific configuration directory. when it's set, the CLI searches this directory for privatebin/config.json (after checking $HOME/.config). see privatebin.conf(5) for the full search order. order matters, bestie πŸŽ€
  • XDG_CONFIG_DIRS β€” colon-separated list of system-wide configuration directories. defaults to /etc/xdg when not set. each directory is searched for privatebin/config.json.
  • HTTP_PROXY, HTTPS_PROXY, ALL_PROXY β€” when no --proxy flag is provided and no proxy configuration value is set, the standard proxy environment variables are honored. so they're like the backup dancers πŸ•Ί
  • NO_PROXY β€” a comma-separated list of host names or IP addresses for which the proxy should not be used. the "not today" list πŸ™ˆ

✨ SEE ALSO ✨

✨ AUTHORS ✨

Bryan Frimin. πŸ’œ


and that's the whole page, bestie!! shoutout to version 2.2.1, dated Feb 15, 2026 β€” go forth and paste responsibly, mwah πŸ˜˜πŸ’–πŸŒΈ
πŸ“¦ where this page comes from