直接 Paste 代碼到網絡上

軟件作用

直接把管道里面的文字內容傳到網站上面,然後反饋一個地址可以讀取內容。
主要介紹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

       


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章