脚本宝典收集整理的这篇文章主要介绍了Linux下的命令行浏览器links介绍,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
假如你的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
以上是脚本宝典为你收集整理的Linux下的命令行浏览器links介绍全部内容,希望文章能够帮你解决Linux下的命令行浏览器links介绍所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。