Ubuntu访问samba共享文件

Ubuntu访问samba共享文件

参考:https://www.cnblogs.com/Wolf-Dreams/p/11241198.html

做法

安装samba-client、cifs-utils

sudo apt-get install -y smbclient cifs-utils

不安装cifs会提示:mount: /xx: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

临时挂载:

sudo mount -t cifs -o user=用户,password=密码 //samba/path /local/path
如果说我的文章对你有用,只不过是我站在巨人的肩膀上再继续努力罢了。
若在页首无特别声明,本篇文章由 Schips 经过整理后发布。
博客地址:https://www.cnblogs.com/schips/
原文地址:https://www.cnblogs.com/schips/p/mount_samba_path_in_ubuntu.html