访问手机版  

Linux常用命令|Linux培训学习|考试认证|工资待遇与招聘,认准超级网工!

招聘|合作 登陆|注册

网络工程师培训

当前位置:网络工程师 > 技术课程 > linux > 热点关注 > linux常用命令

linux下的命令行浏览器links

时间:2019-11-24

linux命令_linux命令手册_linux vi命令

假如你的linux没有X11,没有ff,最小安装,没有wget,没有curllinux命令,等等工具,那又需要访问互联网怎么办呢

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

links --help

ELinks 0.9.2 - Text WWW browser

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

Options:

linux命令手册_linux命令_linux vi命令

-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

linux vi命令_linux命令_linux命令手册

-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

linux vi命令_linux命令手册_linux命令

-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

linux vi命令_linux命令_linux命令手册

-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