Linux基础之命令行浏览器links

有时服务器环境受限,比如在内网环境不能暴露端口从外网访问,用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页面效果如下: 

 

posted @ 2019-03-14 15:09  匠人先生  阅读(7095)  评论(0编辑  收藏  举报