摘要: 1.shell 是批处理程序,类似与windows的bat文件 2.写shell时,第一行要以 !/bin/bash 开头 Execute the file using the Bash shell. 3.使用 注释(最好备注shell脚本的功能作用以防日后忘记) 4.文件名应以.sh结尾 5.运行 阅读全文
posted @ 2018-07-11 21:55 shizeqi 阅读(5763) 评论(0) 推荐(0) 编辑
摘要: 1.安装centos7 mini。 1.1切换到root用户下面。通过命令:cd /etc/sysconfig/network scripts/,来编辑ifcfg eno,编辑之后的结果如下: 1.2切换到etc目录下面,编辑resolv.co nf, 阅读全文
posted @ 2018-07-11 18:15 shizeqi 阅读(299) 评论(0) 推荐(0) 编辑