我正在使用 Ubuntu Server 18.04。在 Bash 终端中,我输入:
man apt
/upgrade
Run Code Online (Sandbox Code Playgroud)
然后这就是我所看到的:
在这里,我可以输入n或N移动这些匹配项。但是,我不知道我的光标当前处于哪个匹配项。我怎么能说呢?
顺便说一句,我在 Win 10 上使用 MobaXterm。
我想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)