Linux下命令行浏览器links的示例分析

这篇文章主要介绍了Linux下命令行浏览器links的示例分析,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。

克东ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:18980820575(备注:SSL证书合作)期待与您的合作!

假如你的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 Clone session with given ID

-confdir Set config dir to given string

-conffile 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 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

感谢你能够认真阅读完这篇文章,希望小编分享的“Linux下命令行浏览器links的示例分析”这篇文章对大家有帮助,同时也希望大家多多支持创新互联,关注创新互联行业资讯频道,更多相关知识等着你来学习!


名称栏目:Linux下命令行浏览器links的示例分析
文章出自:http://pwwzsj.com/article/pppjso.html