wgetpaste:直接 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

你可能感兴趣的:(wgetpaste:直接 Paste 代码到网络上)