Linux VPS installation terminal (command line) browser w3m based on centos 6

888u

Last update at :2024-04-26,Edit by888u

Both w3m and lynx are terminal (command line) browsers for Linux. Our Linux vps generally do not install interfaces. Sometimes if you want to show off, you can use Linux vps to browse web pages and so on. You can use this terminal to browse. device. Don't ask us why we have such strange needs. The centos we use for our own use does not have an interface installed. We are usually used to typing commands, and sometimes we need to access the Internet. Therefore, we think there should be people who have the same needs.

In order not to worry about our own machines, we will use the 36 cloud free vps we applied for last time (address: http://www.138vps.com/freevps/84.html, you can also apply).

It is very simple to install W3M on centos. You only need to run one command: (2M port, downloading is really difficult)

yum -y install w3m

After installation, if you want to open a web page, you only need to:

w3m www.138vps.com

You can open the webpage you want to go to


If you want to go to a certain link, you only need to use the [up, down, left, and right] keys and the [tab] key to move the cursor to the corresponding place, and press Enter. Of course, we use PUTTY. Even with vps, you can also use the mouse to click on relevant links. , press Enter



Here are some operating instructions

Page operation:
SPC,C-v page down
b,ESC v page up
l,C-f focus right
h,C-b focus left
j,C-n focus down
k,C-p focus upward
J Scroll down one line
K Scroll up one line
^,C-a to the beginning of the line
$,C-e to end of line
w to next word
W to previous word
> Move right one screen
< Move one screen left
. Move the screen one column to the right
, move the screen one column to the left
g,M-< to first line
G,M-> to the last line
ESC g to the specified line
Z Center the current line
z Center the current column
TAB Go to next hyperlink
C-u,ESC TAB Go to previous hyperlink
[Go to first hyperlink
] to the last hyperlink
Hyperlink operation:
RET Open hyperlink
a, ESC RET Save link as
u View link url
i View picture url
I view pictures
ESC I Save image as
: mark rul string as anchor
ESC: Mark the ID string as an anchor
c View the URL of the current page
= Show current page properties
C-g View current line number
C-h View history
F Submit form
M Open the current page with an external browser (use 2M and 3M to invoke second and third browser)
ESC M Open link with external browser (use 2ESC M and 3ESC M to invoke second and third browser
File/stream operations:
U Open URL
V Open file
@Execute external commands and import
# Execute external commands and browse
Cache operations:
B Return
v View source code
s select cache
E Edit cache code
C-l redraw screen
R refresh
S Save page as
ESC s Save source code as
ESC e Edit Picture
Cache selection mode (after pressing "s"):
k, C-p Previous cache
j, C-n next cache
D Delete the current cache
RET Go to selected cache
Bookmark operation:
ESC b Open bookmark
ESC a Add current page to bookmarks
Search:
/,C-s Search forward
?,C-r Search backward
n next
N Previous
C-w turns on/off loop search
Tag:
C-SPC set/cancel mark (it seems that this key is usually occupied by the input method)
ESC p Go to previous mark
ESC n Go to next mark
" Use regular expression tags
Miscellaneous:
!Execute external commands
H Help
o Setting options
C-k displays received cookies
C-c terminate
C-z suspend (enter the jobs command to list the stopped processes and their numbers, run the command bg % process number to move the process to the background, fg % process number to move the process to the foreground)
q Exit (confirmation required)
Q Exit without confirming
Line editing mode:
C-f Cursor backward
C-b Cursor forward
C-h delete previous character
C-d delete current character
C-k deletes everything after the cursor
C-u deletes everything before the cursor
C-a moves the cursor to the beginning of the line
C-e moves cursor to end of line
C-p Get the previous word in the history
C-n Get the next word in the history
TAB,SPC automatically complete file names

RETURN OK

Recommended site search: Mainland China server, Zhengzhou virtual host, Wanwang space price, server rental US high defense, domain name registration center, US server website, high defense server rental, Ministry of Industry and Information Technology domain name registration system, The United States has no restrictions on content hosting and registration space.

Linux VPS installation terminal (command line) browser w3m based on centos 6

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码