歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> Linux下的命令行浏覽器links介紹

Linux下的命令行浏覽器links介紹

日期:2017/4/19 14:17:28   编辑:Linux技術

假如你的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

Copyright © Linux教程網 All Rights Reserved