軟件作用
直接把管道里面的文字內容傳到網站上面,然後反饋一個地址可以讀取內容。
主要介紹wgetpaste:
用法
cat /etc/portage/make.conf | wgetpaste
常見問題
1、 因爲pastebin服務源無法訪問導致出錯。
解決辦法:
列出可用的pastebin服務
wgetpaste -S
Services supported: (case sensitive):
Name: | Url:
=============|=================
*bpaste | http://bpaste.net
ca | http://pastebin.ca/
codepad | http://codepad.org/
dpaste | http://dpaste.com/
gists | https://api.github.com/gists
lugons | https://paste.lugons.org/
poundpython | http://paste.pound-python.org/
默認使用bpate
使用可用的pastebin服務,如dpaste
cat /etc /portage/make.conf | wgetpaste -s dpaste