关于Linux下访问Windows共享文件夹

将要访问的Windows文件夹设置为共享,然后使用以下面命令将该文件夹mount到Linux上:
mount -t smbfs -o username=xx,password=xx,ip=xx.xx.xx.xx //hostname/path /linuxpath
比如:要访问的Windows下的文件夹为winshare,则可以使用如下命令:
mount -t smbfs -o username=leo,password=123456,ip=192.168.0.101 //192.168.0.101/winshare /mnt/linuxshare
如果系统没有报错的话,则/mnt/linuxshare即为Windows中的winshare文件夹
posted @ 2008-10-07 17:37  念月思灵  阅读(736)  评论(0编辑  收藏  举报