![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
在路上NEXT
这个作者很懒,什么都没留下…
展开
-
centos下中断ping命令
ctrl+c是可以的。不然也可以ctrl+z,然后kill %1 最好的方法还是 ping -c 3 192.168.1.1 ,-c 3表示ping 3次转载 2017-06-01 21:22:20 · 2511 阅读 · 0 评论 -
Linux命令
:w 保存修改 :wq 保存修改并退出vi :wq! 保存修改并退出vi,文件所有者忽略文件的只读属性 !是强制执行 如果不带!碰上只读文件,会给提示,带了!忽略只读强制写入原创 2017-06-01 22:17:57 · 214 阅读 · 0 评论 -
sudo service: command not found 报错的解决方法
点评:sudo: service: command not found 报错的解决方法,有需要的朋友可以参考下问题: 配置成功sudo后,执行sudo /etc/init.d/httpd restart 正常。 但执行sudo service httpd restart出现一下错误: sudo: service: command not found解决方法: 1.将service的路径写入转载 2017-06-02 10:49:39 · 20230 阅读 · 2 评论 -
Centos7安装MySQL
RPM方式安装MySQL5.6a. 检查MySQL及相关RPM包,是否安装,如果有安装,则移除(rpm –e 名称)1[root@localhost ~]# rpm -qa | grep -i mysql2mysql-libs-5.1.66-2.el6_3.x86_643[root@localhost ~]# yum -y remove mysql-libs* b. 下载Linux对应的转载 2017-06-06 20:32:34 · 315 阅读 · 1 评论 -
more than one `-Acdtrux' or `--test-label' option
在Linux上解压文件时通过命令 tar -xzvf ql.tar.gz -c app/ 出现了 tar: You may not specify more than one -Acdtrux' or–test-label’ option Try tar --help' ortar –usage’ for more information.这个问题。 百度了一下原来是我将 -C写成了小写的c原创 2017-06-03 12:54:55 · 14193 阅读 · 2 评论