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