![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
运维
yueyemaitian
这个作者很懒,什么都没留下…
展开
-
在Ubuntu中创建samba服务器,在mac中访问
1、安装和配置 //安装samba sudo apt-get install samba samba-common //创建共享目录 sudo mkdir /home/share sudo chmod 777 /home/share //修改samba配置 sudo gedit /etc/samba/smb.conf 2、修改samba配置内容,在文件最后添加 [myshar...原创 2016-08-14 00:16:21 · 396 阅读 · 0 评论 -
shell脚本学习
1、exec命令 An exec <filename command redirects stdin to a file An exec >filename command redirects stdout to a designated file exec 2>filename 将会把执行的命令重定向到文件中 2、shift命令 位置参数可以用...原创 2016-09-20 15:46:27 · 155 阅读 · 0 评论