1.环境
ubuntu20.04
2.脚本
# mount
sudo mount -t cifs //your_remote_ip/share ./yout_local_path/ -o username=your_username,password=your_password
# umount
sudo umount ./yout_local_path/
ubuntu20.04
# mount
sudo mount -t cifs //your_remote_ip/share ./yout_local_path/ -o username=your_username,password=your_password
# umount
sudo umount ./yout_local_path/