We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767d818 commit d8a2b2bCopy full SHA for d8a2b2b
Bash-Other-Bash.md
@@ -12,6 +12,12 @@
12
- `rpm -qa | grep jdk`,查看 jdk 是否被安装
13
- 卸载
14
- `rpm -e jdk`,卸载 jdk(一般卸载的时候都要先用 rpm -qa 看下整个软件的全名)
15
+- YUM 软件管理:
16
+ - `yum install -y httpd`,安装 apache
17
+ - `yum remove -y httpd`,卸载 apache
18
+ - `yum info -y httpd`,查看 apache 版本信息
19
+ - `yum list --showduplicates httpd`,查看可以安装的版本
20
+ - 更多命令可以看:<http://man.linuxde.net/yum>
21
- 查看某个配置文件,排除掉里面以 # 开头的注释内容:
22
- `grep '^[^#]' /etc/openvpn/server.conf`
23
- 查看某个配置文件,排除掉里面以 # 开头和 ; 开头的注释内容:
0 commit comments