有时服务器环境受限,比如在内网环境不能暴露端口从外网访问,用curl看html代码比较累,这时可以使用命令行浏览器来查看相关页面

官方: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页面效果如下:

【原创】Linux基础之命令行浏览器links

按Esc出现菜单

【原创】Linux基础之命令行浏览器links

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

 

相关文章:

  • 2021-10-25
  • 2021-11-16
  • 2021-05-04
  • 2022-01-12
  • 2022-01-11
  • 2021-06-02
  • 2021-12-10
猜你喜欢
  • 2021-07-11
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
相关资源
相似解决方案