Linux Commands Examples

A great documentation place for Linux commands

pastebinit

command-line pastebin client

Synopsis

pastebinit [-abfhiljmrtup]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

This manual page documents briefly the pastebinit commands

pastebinit reads text and sends it to a "pastebin" on the internet, returning the URL to the user.

It allows the text to be passed through a pipe (|) or from a file passed as an argument.

options

Optional arguments (not supported by all pastebins)
-a [author]
(default: $USER)

-b [pastebin url] (default is distro-specific with a fallback to pastebin.com)

-f [format for syntax-highlighting] (default: text) (check pastebin's website for complete list, example: python)

-h Help screen

-i [filename] Use filename for input

-l List all the supported pastebins

-j [jabberid] (default: none)

-m [permatag] (default: none)

-r [parent post ID] (default: none)

-t [title of paste] (default: none)

-u [username] (default: none)

-p [password] (default: none)

configuration file

If a .pastebinit.xml file is found in the user's home directory, pastebinit will use it for its configuration.

Here's an example file:

<pastebinit>
<pastebin>http://paste.ubuntu.com</pastebin>
<author>Stephane Graber</author>
<jabberid>stgraber[:at:]stgraber[:dot:]org</jabberid>
<format>text</format>
</pastebinit>

copyright

Copyright © 2007-2011 Stephane Graber


authors

Pastebinit is currently written by Stephane Graber.

username, password, format, title, arguments and redirect support added by Daniel Bartlett.

Website: http://launchpad.net/pastebinit

E-mail: stgraber[:at:]ubuntu[:dot:]com

How can this site be more helpful to YOU ?


give  feedback