Linux Lynx基于文本和终端的浏览器

这篇教程介绍了Linux上的Lynx文本浏览器,一种在服务器环境无需桌面管理器即可浏览网页的工具。内容包括Lynx的安装方法,如在Ubuntu、Fedora等系统上的安装,使用URL参数打开Lynx,以及各种操作,如退出、浏览页面、获取帮助和常用快捷方式等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux is an interesting operations system. It provides a lot of command-based or terminal-based applications. Lynx is one of them. Lynx is a terminal-based web browser. This means we can browse the web or surf the web in a server environment without a desktop manager. In this tutorial, we will look at how to install lynx and the features and commands provided lynx.

Linux是一个有趣的操作系统。 它提供了许多基于命令或基于终端的应用程序。 x就是其中之一。 Lynx是基于终端的Web浏览器。 这意味着我们可以在没有桌面管理器的服务器环境中浏览网页或浏览网页。 在本教程中,我们将研究如何安装lynx以及lynx提供的功能和命令。

安装Lynx (Install Lynx)

Lynx is an old browser and provided by the most the Linux distributions.

Lynx是一个旧的浏览器,由大多数Linux发行版提供。

Ubuntu,Debian,Mint: (Ubuntu, Debian, Mint:)

$ sudo apt install lynx

Fedora,CentOS,RedHat: (Fedora, CentOS, RedHat:)

$ sudo yum install lynx

视窗 (Windows)

Windows installer can be downloaded from following link.

可以从以下链接下载Windows安装程序。

http://invisible-island.net/lynx/#installers

使用URL参数打开Lynx (Open Lynx with URL Parameter)

We can directly provide the URL we want to navigate to the lynx command. In this example, we will navigate www.google.com .

我们可以直接提供要导航到lynx命令的URL。 在此示例中,我们将浏览www.google.com

$ lynx www.google.com
Open Lynx with URL Parameter
使用URL参数打开Lynx

退出山猫 (Quit Lynx)

We can quit lynx with q command . But there will be a question like below. We will simply provide yes.

我们可以使用q命令退出lynx。 但是下面会有一个问题。 我们只会提供是。

q 
y

浏览页面 (Navigate On Page)

There will be a lot of links while we are surfing the web. We can use arrows to navigate on links.

我们上网时会有很多链接。 我们可以使用箭头导航链接。

Up , Down , Right , Left
Navigate On Page
Navigate On Page
浏览页面

获取有关Lynx的帮助(Get Help About Lynx)

Help about lynx can be get with h command. This will list a lot of help information.

可以使用h命令获取有关lynx的帮助。 这将列出很多帮助信息。

Get Help About Lynx
Get Help About Lynx
获取有关Lynx的帮助

这里是最常用的Lynx快捷方式列表(Here List Of Most Used Lynx Shortcuts)

MOVEMENT:    Down arrow     – Highlight next topicUp arrow       – Highlight previous topicRig

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值