Skip to content

Command Line Interface

Note

This page provides basic examples for using the privatebin command-line tool. For detailed information and options, please refer to the --help flag available with each command (e.g., privatebin create --help).

Create a paste

Direct text:

privatebin create "Your secret text here."

From a file:

cat secret.txt | privatebin create

Get a paste

privatebin get "https://privatebin.net/?pasteid#key"

Delete a paste

privatebin delete "https://privatebin.net/?pasteid#key" --token "your_delete_token"