首先需要安装samba
# apt-get install samba
1. 一种直接使用smbclient命令
# smbclient //服务器地址/目录 -U 用户名%密码
如
# smbclient //192.168.0.133/liyong -U liyong%liyong
2. 使用mount
#apt-get install smbfs
#smbmount //192.168.0.133liyong /mnt/133 -o user=liyong,pass=liyong,iocharset=utf8