How to use a browser in the command line

Source: Internet
Author: User
Tags gopher
Article Title: how to use a browser under the command line. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. How to use a browser in the command line: (1)

If you cannot find the answer in the hard drive, you can also seek help from the Internet. Using search engines can avoid detours or waste a lot of time. In this section, we will discuss some information sources that users can use to effectively search for information. Obtaining Help information through a browser is very important for Linux users. The command line browsers in Linux are Lynx and w3m. The author uses Lynx.

1. About Lynx

Lynx is a full-featured WWW browser on the Character interface. Lynx can run in many operating systems, such as VMS, UNIX, Windows 95, and Windows NT, including Linux. Because there is no beautiful graphic interface, Lynx occupies a very small amount of resources and is fast. The home address of Lynx is:Http://lynx.browser.org,

2. Run Lynx

You can run lynx in the form of lynx filename and Lynx PROTOCOL: // HOST/PATH/FILENAME. The former is used to browse local files, and the latter is used to browse the Internet. PROTOCOL, which can be http, gopher, ftp, and wais. For example:

HTTP (HyperText Transfer Protocol) 
http://kuhttp.cc.ukans.edu/lynx_help/lynx_help_main.html
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 first looks for an environment variable named WWW_HOME. If it is found, it connects to the URL specified by WWW_HOME. Lynx connects to its home page:Http://lynx.browser.org/

3. keyboard commands of Lynx

Move command:
Downstream key: Next link on the page (displayed in High Brightness ).
Direction key: the previous link on the page (displayed in High Brightness ).
Press enter and right arrow key: Jump to the address pointed to by the link.
Left arrow key: return to the previous page.
Scroll command:
+, Page-Down, Space, Ctrl + f: Page flip.
-, Page-Up, B, Ctrl + B: Page Up.
Ctrl + a: move to the front of the current page.
Ctrl + e: Move to the end of the current page.
Ctrl + n: Scroll down two rows.
Ctrl + p: Go back to two rows.
): Half a page down.
(: Turn back half page.
#: Return to the Toolbar or Banner of the current page.
File Operation command:
C: Create a new file.
D: Download the selected file.
E: edit the selected file.
F: displays an option menu 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 bookmarks.
C: send comments or suggestions to the page owner.
D: Download the current link.
E: edit the current file.
G: jump to a URL or file specified by the user.
G: edit the URL of the current page and jump to this URL.
I: displays the document index.
J: run the pre-defined "short" command.
K: displays the keyboard command list.
L: list the addresses of all links on the current page.
M: return to the home page.
O: Set options.
P: output the current page to the file, E-mail, printer, or other places.
Q: exit.
/: Search for strings on the current page.
S: Search for input strings externally.
N: Search for the next one.
V: view a bookmarks.
V: Jump to the accessed address.
X: no cache is used.
Z: stops the current transmission.
: Jump to the history page (same as the V command ).
=: Displays information on the current page.
: View the source code of the current page.
! : Return to the shell prompt.
_: Clear all authorization information for the current task.
*: Switches the image link mode.
@: Switch between 8-bit transmission mode and CJK mode.
[: Switch switch in pseudo _ inlines mode.
]: Sends a "HEAD" request to the current page or link.
Ctrl + r: reinstall the current page and refresh the screen.
Ctrl + w: refresh the screen.
Ctrl + u: Delete the input row.
Ctrl + g: Cancel input or transfer.
Ctrl + t: Switch the tracking mode.
;: View the tracing record of Lynx for the current task.
Ctrl + k: Call the Cookie Jar page.
Number key: the nth link to the end.

[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.