w3m--用ubuntu的命令行模式浏览网页

简介:

一般大家用ubuntu的xwindows来看图形界面的东西,有没有想过在命令行模式下浏览网页呢?如果有就快去试试w3m命令吧!

先看看它的参数

 
  1. sucre@sucre-ubuntu:~$ w3m  
  2. w3m version w3m/0.5.2, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark,migemo  
  3. usage: w3m [options] [URL or filename]  
  4. options:  
  5.     -t tab           set tab width  
  6.     -r               ignore backspace effect  
  7.     -l line          # of preserved line (default 10000)  
  8.     -I charset       document charset  
  9.     -O charset       display/output charset  
  10.     -B               load bookmark  
  11.     -bookmark file   specify bookmark file  
  12.     -T type          specify content-type  
  13.     -m               internet message mode  
  14.     -v               visual startup mode  
  15.     -M               monochrome display  
  16.     -N               open URL of command line on each new tab  
  17.     -F               automatically render frame  
  18.     -cols width      specify column width (used with -dump)  
  19.     -ppc count       specify the number of pixels per character (4.0...32.0)  
  20.     -ppl count       specify the number of pixels per line (4.0...64.0)  
  21.     -dump            dump formatted page into stdout  
  22.     -dump_head       dump response of HEAD request into stdout  
  23.     -dump_source     dump page source into stdout  
  24.     -dump_both       dump HEAD and source into stdout  
  25.     -dump_extra      dump HEAD, source, and extra information into stdout  
  26.     -post file       use POST method with file content  
  27.     -header string   insert string as a header  
  28.     +<num>           goto <num> line  
  29.     -num             show line number  
  30.     -no-proxy        don't use proxy  
  31.     -4               IPv4 only (-o dns_order=4)  
  32.     -6               IPv6 only (-o dns_order=6)  
  33.     -no-mouse        don't use mouse  
  34.     -cookie          use cookie (-no-cookie: don't use cookie)  
  35.     -pauth user:pass proxy authentication  
  36.     -graph           use graphic character 
  37.     -no-graph        don't use graphic character 
  38.     -s               squeeze multiple blank lines  
  39.     -W               toggle wrap search mode  
  40.     -X               don't use termcap init/deinit  
  41.     -title[=TERM]    set buffer name to terminal title string  
  42.     -o opt=value     assign value to config option 
  43.     -show-option     print all config options  
  44.     -config file     specify config file  
  45.     -help            print this usage message  
  46.     -version         print w3m version  
  47.     -reqlog          write request logfile  
  48.     -debug           DO NOT USE  

简单的浏览网的方法为:

 
  1. w3m http://sucre.blog.51cto.com 

效果图如下:

 

看到了黑黑的一片,不过我挺喜欢这种模式的,简单快捷,如果你想登陆或者在搜索框里面查找东西的话,首先你得把光标移动到输入框里面,然后按下键盘上的"A",这个时候在屏幕的下方就出来个输入的提示,输入完成后直接按回车,就这样慢慢的将要写的东西都写好,去登陆吧,哈哈,真的好好玩,感兴趣的朋友去试试啊~~~,如果要玩的更好,那就得好好研究一下w3m的参数了!~



本文转自sucre03 51CTO博客,原文链接:http://blog.51cto.com/sucre/383506,如需转载请自行联系原作者

相关文章
|
24天前
|
Ubuntu Oracle 关系型数据库
Oracle VM VirtualBox之Ubuntu 22.04LTS双网卡网络模式配置
这篇文章是关于如何在Oracle VM VirtualBox中配置Ubuntu 22.04LTS虚拟机双网卡网络模式的详细指南,包括VirtualBox网络概述、双网卡网络模式的配置步骤以及Ubuntu系统网络配置。
48 3
|
1月前
|
Ubuntu 网络安全
【ubuntu 网卡混杂模式设置】
【ubuntu 网卡混杂模式设置】
50 1
|
1月前
|
分布式计算 Ubuntu Hadoop
在Ubuntu 16.04上如何在独立模式下安装Hadoop
在Ubuntu 16.04上如何在独立模式下安装Hadoop
21 1
|
1月前
|
Ubuntu 关系型数据库 应用服务中间件
在Ubuntu 18.04上安装和配置pgAdmin 4服务器模式的方法
在Ubuntu 18.04上安装和配置pgAdmin 4服务器模式的方法
54 0
|
2月前
|
Ubuntu Linux 网络安全
群晖搭建网页版Linux Ubuntu系统并实现远程访问
群晖搭建网页版Linux Ubuntu系统并实现远程访问
46 1
|
10月前
|
Ubuntu PHP 开发工具
ubuntu 使用命令行更换国内源
ubuntu 使用命令行更换国内源
902 35
|
3月前
|
Ubuntu JavaScript Linux
linux 命令行下载BT种子和磁力链接 ubuntu linux 命令行下载种子
linux 命令行下载BT种子和磁力链接 ubuntu linux 命令行下载种子
717 3
|
3月前
|
Ubuntu Linux 网络安全
ubuntu linux 搭建 webssh 网页ssh远程登录其他服务器
ubuntu linux 搭建 webssh 网页ssh远程登录其他服务器
98 0
|
4月前
|
存储 消息中间件 Ubuntu
如何在 Ubuntu 20.04 上以独立模式设置 MinIO 对象存储服务器
在本教程中,将通过以下方式设置 MinIO 的独立部署: - 在运行 Ubuntu 20.04 的服务器上安装 MinIO 服务器。 - 个人计算机上安装 MinIO 客户端并将其配置为与 MinIO 服务器通信。 - 设置数字证书以保护服务器和客户端之间的通信(包括通过 MinIO 控制台)。
436 1
|
4月前
|
Ubuntu Linux 编译器
Linux Ubuntu命令行快速配置C++开发环境
Linux Ubuntu命令行快速配置C++开发环境
117 1