Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use linux to open browser commands under the linux command line

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "linux command line how to use linux to open browser commands", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's ideas slowly in depth, together to study and learn "linux command line how to use linux to open browser commands" bar!

Under the linux command line, use linux to open the browser command:

Linux command line: Lynx method for browsing Chinese web pages (1):

First of all: press o keyboard to enter the setting screen

Display character set: [chinese] is shown in figure Bmuri 4.

Assumed document character set (!): [euc-cn] figure Bmer4 sets the lynx internal code

Then use the "Accept Changes" option to save.

Download, install and run the zhcon package below.

# wegt http://nchc.dl.sourceforge.net/sourceforge/zhcon/zhcon-0.2.3-1.i386.rpm # rpm-ivh zhcon-0.2.3-1.i386.rpm#zhcon

* you can use linux command line: lynx to browse Chinese web pages.

The application examples are as follows.

Linux command line to browse the local web page:

# lynx bookark.html

The interface is shown in figure BMI5.

Photo BMI5 browsing Chinese web pages

The method of using browser under linux command line: (2)

When you can't find the answer on your hard drive, you can also use the Internet for help. Using search engines can avoid taking many detours or wasting a lot of time. In this section, we will discuss some sources of information that users can use to search for information effectively. It is very important for Linux users to get help information through the browser. The browsers for the linux command line are Lynx and W3m. The author uses Lynx.

Introduction to 1.Lynx

Lynx is a full-featured WWW browser with a character interface. Lynx can run under a variety of operating systems, such as VMS, UNIX, Windows 95, Windows NT, etc., including Linux. Without a beautiful graphical interface, Lynx takes up very few resources and is very fast. The home address of Lynx is: http://lynx.browser.org

2. Run linux command line: Lynx

You can run Lynx as lynx filename and lynx PROTOCOL://HOST/PATH/FILENAME, the former for browsing local files and the latter for browsing Internet. Protocol (PROTOCOL), which can be http, gopher, ftp and wais. Such as:

Gopher

Gopher://gopher.micro.umn.edu/11/

FTP (File Transfer Protocol)

Ftp://ftp2.cc.ukans.edu/pub/lynx/README

WAIS (Wide Area Information Service protocol)

Wais://cnidr.org/directory-of-servers

If you run Lynx without any parameters, Lynx will first look for an environment variable called WWW_HOME, and if found, it will connect to the URL specified by WWW_HOME. Lynx connects to its home page: http://lynx.browser.org/

3.linux command line: keyboard commands for Lynx

Move command:

Arrow keys: the next link on the page (shown in high brightness).

Up Arrow: the previous link on the page (shown in high brightness).

Enter and right arrow keys: jump to the address that the link points to.

Left arrow key: go back to the previous page.

Scroll command:

+, Page-Down,Space,Ctrl+f: page down.

Page-Up,b,Ctrl+b: turn the page up.

Ctrl+a: moves to the front of the current page.

Ctrl+e: move to the * side of the current page.

Ctrl+n: turn down two lines.

Ctrl+p: turn back two lines.

(turn down half a page.

Turn back half a page.

#: return to the Toolbar or Banner of the current page.

File manipulation commands:

C: create a new file.

D: download the selected file.

E: edit the selected file.

F: displays a menu of options for the current file.

M: modify the name or location of the selected file.

R: delete the selected file.

T:Tag highlighted file .

U: upload a file to the current directory.

Other commands:

H: help.

A: add the current link to a bookmark file.

C: send comments or suggestions to the owner of the page.

D: download the current link.

E: edit the current file.

G: jump to a user-specified URL or file.

G: edit the URL of the current page and jump to the URL.

I: displays the document index.

J: execute predefined "short" commands.

K: displays a list of keyboard commands.

L: lists the addresses of all links on the current page.

M: go back to the home page.

O: set options.

P: output the current page to a file, E-mail, printer or other place.

Q: quit.

/: look for a string within the current page.

S: search for the entered string externally.

N: search for the next.

V: view a bookmark file.

V: jump to the address you visited.

X: do not use caching.

Z: stop the current transfer.

Jump to the history page (same as V command).

=: displays information for the current page.

View the source code for the current page

!: return to the shell prompt

_: clear all authorization information for the current task.

*: toggle switch for graphic link mode.

@: toggle switch for 8-bit transfer mode or CJK mode.

[: pseudo_inlines mode switch.

]: sends a "HEAD" request for the current page or link.

Ctrl+r: reload the current page and refresh the screen.

Ctrl+w: refresh the screen.

Ctrl+u: deletes the entered line.

Ctrl+g: cancel input or transfer.

Ctrl+t: the toggle switch for tracking mode.

;: look at Lynx's track record of the current task.

Ctrl+k: calls the Cookie Jar page.

Numeric key: to the nth link behind.

Thank you for your reading, the above is the content of "how to use linux to open browser commands under the linux command line". After the study of this article, I believe you have a deeper understanding of how to use linux to open browser commands under the linux command line, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report