LoginSignup
1
2

More than 5 years have passed since last update.

Ubuntu のpastbin client `pastebinit' の利用メモ

Last updated at Posted at 2012-11-15

pastebin.com でファイルから貼りつけしようと思ったけどファイル指定が見つからずそういえばclient あったよなーと試してみたメモ.

導入

$ sudo apt-get install pastebinit

stdin からペースト

$ pastebinit
test
test
.
^d
http://paste.ubuntu.com/1359876/

※^d はCtrl+d

ファイルを指定してpaste

$ pastebinit -i /var/log/vbox-install.log
http://paste.ubuntu.com/1359869/

pastebin サービスを選択

以下のように指定すると使いたいpastbin が使える.

※デフォルトでは `paste.ubuntu.com' が使われる.

$ pastebinit -b http://pastebin.com -i /var/log/vbox-install.log
http://pastebin.com/xzfYnRMU

サポートされるpastebin

$ pastebinit -l
Supported pastebins:
- cxg.de
- fpaste.org
- p.defau.lt
- paste.debian.net
- paste.drizzle.org
- paste.kde.org
- paste.openstack.org
- paste.pocoo.org
- paste.pound-python.org
- paste.ubuntu.com
- paste.ubuntu.org.cn
- paste2.org
- pastebin.com
- pastie.org
- pb.daviey.com
- slexy.org
- sprunge.us
- yourpaste.net

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2