06 2017 档案

编辑,文件查找
摘要:inode只能记录本分区的文件信息,硬链接不能跨分区[yuq@localhost ~]$ which ifconfig/usr/sbin/ifconfig[yuq@localhost ~]$ which ifconfig/usr/sbin/ifconfig[yuq@localhost ~]$ whi 阅读全文

posted @ 2017-06-14 13:03 ZGCOS 编辑

mount 文件挂载
摘要:mount 外部挂载, #创建一个20M的文件[yuq@localhost test]$ dd if=/dev/zero of=file1 bs=1M count=20记录了20+0 的读入记录了20+0 的写出20971520字节(21 MB)已复制,0.0879939 秒,238 MB/秒[yu 阅读全文

posted @ 2017-06-13 20:38 ZGCOS 阅读(395) 评论(0) 推荐(0) 编辑

服务管理
摘要:服务管理:启动类型:手动,自动,禁用#查看所有服务[root@localhost yuq]# systemctl list-unit-files #查看所有service服务[root@localhost yuq]# systemctl list-unit-files --type service# 阅读全文

posted @ 2017-06-13 13:45 ZGCOS 阅读(176) 评论(0) 推荐(0) 编辑

yum
摘要:yum管理软件包它只是一个管理工具,安装的还是rpm.yum可以解决包依赖的问题。 yum源搭建:[root@localhost yuq]# yum install vsftpd[root@localhost yuq]# systemctl start vsftpd#设置开启自动启动[root@lo 阅读全文

posted @ 2017-06-13 00:11 ZGCOS 阅读(163) 评论(0) 推荐(0) 编辑

管道,输出,管道,重定向,grep
摘要:输出:大于号:将一条命令执行结果(标准输出,或者错误输出,本来都要打印到屏幕上面的)重定向其它输出设备(文件,打开文件操作符,或打印机等等)> 是覆盖原有内容>> 是追加内容 2> 是错误内容覆盖>> 是错误内容追加重定向[yuq@localhost ~]$ sdfsdfsdf > a.txt ba 阅读全文

posted @ 2017-06-12 19:04 ZGCOS 阅读(250) 评论(0) 推荐(0) 编辑

VIM
摘要:VIM: 命名模式:Esc,u:撤销,r:前进 yy复制当前行,nyy从当前行往下复制n行 p:粘贴 dd:删除,ndd shift+z:保存并退出 n+G或者ngg :切换行 ctrl+v:可视块, 左右箭头选择可试块,y:复制,p:粘贴,x:删除. 可视块+x:删除 可视块+大写I+#(或者多个 阅读全文

posted @ 2017-06-12 19:04 ZGCOS 阅读(141) 评论(0) 推荐(0) 编辑

rpm
摘要:软件包安装:源码包,rpm,yum源码包安装: 1.看是否有Makerfile文件,如果没有的话,则生成这个文件. 2.configure 生成, -> ./configure --prefix =/etc/ 3.make && make install rpm: redhat package ma 阅读全文

posted @ 2017-06-02 13:41 ZGCOS 阅读(152) 评论(0) 推荐(0) 编辑

ssh链接,公钥、私钥、远端图形化
摘要:[yuq@localhost ~]$ hostname # 主机名localhost.localdomain [yuq@localhost ~]$ cat /etc/hosts # hosts配置文件127.0.0.1 localhost localhost.localdomain localhos 阅读全文

posted @ 2017-06-01 16:17 ZGCOS 阅读(242) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

点击右上角即可分享
微信分享提示