ubuntu 访问windows 的共享文件夹

来源:互联网 发布:centos sftp配置 编辑:程序博客网 时间:2024/05/16 16:58

Win7机器

    共享的文件夹名称shared

    ip:192.168.213.54

   用户名:linux

  密码:linuxpw

ubuntu下建立用来访问win7共享的的文件夹:/opt/sharedwin7

执行如下命令:


mount //192.168.213.54/shared /opt/sharedwin7 -o username=linux,passwd=linuxpw

然后访问/opt/sharedwin7目录就是访问Win7的shared文件夹,如果win7中增加了写权限,则可以在ubuntu下在/opt/sharedwin7下执行写操作

原创粉丝点击