您好,登錄后才能下訂單哦!
這篇文章主要介紹了Linux下命令行瀏覽器links的示例分析,具有一定借鑒價(jià)值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
假如你的Linux沒有X11,沒有ff,最小安裝,沒有wget,沒有curl,等等工具,那又需要訪問互聯(lián)網(wǎng)怎么辦呢?
Linux有一款自帶的文本互聯(lián)網(wǎng)瀏覽器:links,可以瀏覽簡(jiǎn)單網(wǎng)頁,及測(cè)試網(wǎng)絡(luò)端口連通性。
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
感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“Linux下命令行瀏覽器links的示例分析”這篇文章對(duì)大家有幫助,同時(shí)也希望大家多多支持億速云,關(guān)注億速云行業(yè)資訊頻道,更多相關(guān)知識(shí)等著你來學(xué)習(xí)!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。