小编Lan*_*rts的帖子

RHEL 上的 yum 软件包安装报告“此系统未向授权服务器注册”

我今天下载了 Red Hat Enterprise Linux,当我尝试使用 yum 安装软件包时,我得到:

[root@localhost yum.repos.d]# yum install openssh
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Nothing to do
Run Code Online (Sandbox Code Playgroud)

我该怎么办?

yum rhel

5
推荐指数
2
解决办法
3万
查看次数

vi 搜索范围和替换

我在vi不允许我使用这些\1方法的 Tru64 系统上使用。

这么简单的问题我找不到答案:

您如何将搜索(范围)与替换连接起来?看起来像这样的东西,但它不起作用:

:/^group/s/\w$/Test/
Run Code Online (Sandbox Code Playgroud)

对于那些感兴趣的人,我试图用以下方法做到这一点\1

:%s/\(group\s\+\)\w/\1Test/
Run Code Online (Sandbox Code Playgroud)

vi regular-expression

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

标签 统计

regular-expression ×1

rhel ×1

vi ×1

yum ×1