
Linux
ignorantshr
这个作者很懒,什么都没留下…
展开
-
centos6.x 与 centos7.x 关于 shutdown 的区别
默认动作先来看看centos6.8的shutdown说明:[root@localhost ~]# shutdown --helpUsage: shutdown [OPTION]... TIME [MESSAGE]Bring the system down.……The system is brought down into maintenance (single-user) mode ...原创 2020-01-02 15:35:42 · 502 阅读 · 0 评论 -
linux下使用windows头文件
在linux下编译含有windows的头文件时会报错,只需要找到头文件并放在对应的位置下(一般是/usr/include)即可解决。linux寻找windows头文件的三种方法:通过wine寻找在linux下安装wine或者解压wine包,即可在系统中搜索所需的头文件。通过VerySource寻找百度要下载的包,点击进入VerySource网址,注册之后即可免费下载!注意:在网站内...原创 2019-02-14 16:59:01 · 16023 阅读 · 8 评论 -
mount error(5): Input/output error
试图从Linux挂载windows的共享文件时:mount.cifs //192.168.216.27/ova ova_tmp/ -o user=xxx,pass=xxx出现了如下错误:mount error(5): Input/output errorRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)解决办法是加...原创 2019-03-18 17:34:00 · 10462 阅读 · 1 评论 -
shell自动化输入
使用expect实现shell的自动化输入,解决命令不能带引号问题。原创 2019-04-26 15:49:17 · 2419 阅读 · 0 评论 -
Linux逻辑卷划分示意图
原创 2019-05-09 16:10:02 · 510 阅读 · 0 评论 -
centos7查看yum仓库下所有的rpm包
centos7查看yum仓库下所有的rpm包# 列出所有仓库中的rpmyum list# 列出某一仓库中的rpmyum repo-pkgs <repo-name> listrepo-pkgs的意思是将yum仓库当作安装包的组(Minimal Install、GNOME Desktop等)来看待,这样就能后接包或组才能使用的命令。...原创 2019-05-14 18:10:36 · 10692 阅读 · 1 评论