1. 程式人生 > >【原創】Linux基礎之命令行瀏覽器links

【原創】Linux基礎之命令行瀏覽器links

end base use bubuko element graph 技術 namenode name

有時服務器環境受限,比如在內網環境不能暴露端口從外網訪問,用curl看html代碼比較累,這時可以使用命令行瀏覽器來查看相關頁面

links

官方:http://links.twibright.com/

Links is an open source text and graphic web browser with a pull-down menu system.It renders complex pages, has partial HTML 4.0 support (including tables and frames and support for multiple character sets such as UTF-8), supports color and monochrome terminals and allows horizontal scrolling.

It is intended for users who want to retain many typical elements of graphical user interfaces (pop-up windows, menus etc.) in a text-only environment.

# yum install links
# links http://www.baidu.com/

訪問hdfs namenode頁面效果如下:

技術分享圖片

按Esc出現菜單

技術分享圖片

lynx

官方:https://lynx.browser.org/

Lynx is a customizable text-based web browser for use on cursor-addressable character cell terminals. As of January 2019, it is the oldest web browser still in general use and active development, having started in 1992.

# yum install lynx
# lynx http://www.baidu.com/

訪問hdfs namenode頁面效果如下:

技術分享圖片

【原創】Linux基礎之命令行瀏覽器links