摘要: -r 递归的 sambal 服务 sudo apt-get install samba sudo vi /etc/samba/smb.conf : 修改samba配置文件 sudo /etc/init.d/samba restart : 重启服务 nfs 服务: sudo apt-get insta 阅读全文
posted @ 2018-11-06 14:32 Corey0606 阅读(210) 评论(0) 推荐(0) 编辑
摘要: echo "hello world" 打印出来 第一行为bash在bin里的pwd vi test.sh ./test.sh 运行shell 阅读全文
posted @ 2018-11-06 14:23 Corey0606 阅读(116) 评论(0) 推荐(0) 编辑
摘要: if config 配置网卡 ifconfig :显示所有网卡信息 ifconfig eth0 : 查看网卡eth0的信息 ifconfig eth0 down :禁用eth0 if config eth0 up : 激活eth0 if config eth0 192.168.1.101 : 配置网 阅读全文
posted @ 2018-11-06 14:03 Corey0606 阅读(4038) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-11-06 09:34 Corey0606 阅读(96) 评论(0) 推荐(0) 编辑