Wgetpaste is a command-line interface for various pastebins. With it you can paste the contents of a file, the output of a task, or anything you want to a pastebin service, with just executing a simple command from terminal.
How to install wgetpaste?
#emerge -av wgetpaste
How to pastebin from terminal?
$wgetpaste filenameAnd in a couple of seconds you'll be given a link to where you can view your text.
(where "filename" is the name of the file which contents you wanna paste)
How to pastebin the output of a command?
$ls | wgetpasteWhich pipes the output of the "ls" command to the wgetpaste command, and pastebins it appropriately, returning you a link for it. Equivalent for any other command.
0 comments:
Post a Comment