Elinks是Linux命令行下的网络浏览器。它的特点是速度很快,支持frame、表格和鼠标,拥有菜单,在Elinks中网页的显示效果是所有命令行下网络浏览器中最好的。
[@more@]
如果经常在文本界面下运行,用这个命令测试web服务是否正常是最快速度。
1,安装
[root@station12 ~]# yum install elinks
2,查看man帮助,得到-dump参数的作用。
-dump [0|1] (default: 0)
Print formatted plain-text versions of given URLs to stdout.
3,测试服务是否可用
[root@station10 /]# elinks -dump www10.example.com
www10.example.com
[root@station10 /]# elinks -dump www10.example.com | head
www10.example.com
[root@station10 /]#
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-1012014/
,如需转载,请注明出处,否则将追究法律责任。