Linux下的命令行浏览器links

[size=large]假如你的Linux没有X11,没有ff,最小安装,没有wget,没有curl,等等工具,那又需要访问互联网怎么办呢

Linux有一款自带的文本互联网浏览器:links,可以浏览简单网页,及测试网络端口连通性。

links --help
ELinks 0.9.2 - Text WWW browser

Usage: elinks [OPTION]... [URL]

Options:
-anonymous [0|1] Restrict to anonymous mode
-auto-submit [0|1] Autosubmit first form
-base-session <num> Clone session with given ID
-confdir <str> Set config dir to given string
-conffile <str> Configuration file name
-default-mime-type MIME type to assume for documents
-dump [0|1] Write formatted version of given URL to stdout
-dump-charset Codepage to use with -dump
-dump-width Width of document formatted with -dump
-eval Evaluate given configuration option
-force-html Assume the file is HTML
-?, -h, -help Print usage help and exit
-long-help Print detailed usage help and exit
-config-help Print help for configuration options
-lookup Look up specified host
-no-connect [0|1] Run as separate instance
-no-home [0|1] Don't use files in ~/.elinks
-session-ring <num> Connect to session ring with given ID
-source [0|1] Write the source of given URL to stdout
-stdin [0|1] Read document from stdin
-no-numbering [0|1] Do not number links in dump output
-touch-files [0|1] Touch files in ~/.elinks when running with -no-connect/-session-ring
-version Print version information and exit

使用举例:

links --dump www.linuxidc.com[/size]
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值