sudo mount -t cifs //ip地址/path/to/share path/to/mount
命令行解释:
mount:挂载命令
-t cifs: 用cifs文件系统挂载samba共享文件,如果提示错误的文件系统的话,可能是没有cifs,需要自己安装。【centos:
yum install nfs-utils】
//ip地址/path/to/share:共享目录路径
path/to/mount:要挂载的路径,需要自己创建一个
sudo mount -t cifs //ip地址/path/to/share path/to/mount
命令行解释:
mount:挂载命令
-t cifs: 用cifs文件系统挂载samba共享文件,如果提示错误的文件系统的话,可能是没有cifs,需要自己安装。【centos:
yum install nfs-utils】
//ip地址/path/to/share:共享目录路径
path/to/mount:要挂载的路径,需要自己创建一个