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