小编Jus*_*ner的帖子

Ubuntu 18.04,在手册页中搜索,如何判断我的光标当前位于哪个匹配项上?

我正在使用 Ubuntu Server 18.04。在 Bash 终端中,我输入:

man apt
/upgrade
Run Code Online (Sandbox Code Playgroud)

然后这就是我所看到的:

在此处输入图片说明

在这里,我可以输入nN移动这些匹配项。但是,我不知道我的光标当前处于哪个匹配项。我怎么能说呢?

顺便说一句,我在 Win 10 上使用 MobaXterm。

command-line bash search

6
推荐指数
1
解决办法
201
查看次数

如何在 Ubuntu Server 18.04 上将 sed 升级到 4.5?

我想sed在 Ubuntu Server 18.04 上尝试最新的实用程序。我试过下面的命令,但仍然无法升级它。我怎样才能做到这一点?

root@u1804:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Fetched 311 kB in 7s (47.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
97 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@u1804:~# 
root@u1804:~# apt show sed
Package: sed
Version: 4.4-2
Priority: required
Essential: …
Run Code Online (Sandbox Code Playgroud)

upgrade apt sed

2
推荐指数
1
解决办法
1466
查看次数

标签 统计

apt ×1

bash ×1

command-line ×1

search ×1

sed ×1

upgrade ×1