我今天下载了 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)
我该怎么办?
我在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)