linux安装smbclient
sudo apt-get install smbclient
查看网络共享资源
sudo smbclient -L //192.168.10.100
挂载共享文件:
1. 安装 cifs-utils
apt install cifs-utils
2. 建立挂载点 ntmusic
mkdir ntmusic
3. sudo mount -t cifs -o username=windowsuser,password="password" //192.168.169/Music /ntmusic
4. 添加权限
sudo mount -t cifs -o username=windowsuser,password="password", uid="windowsuser", gid="windowsuser" //192.168.169/Music /ntmusic
5. 查看挂载
df -h