【原创】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页面效果如下: 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM