在学习linux中配置samba服务时常常因为添加了某个参数而要重新登录samba服务器。
为了方便测试验证我用windows 7 作为客户端进行登录,遇到的一个问题是是windows 7中每次登录以后就不知道如何退出。
解决方法:
1、打开cmd.exe
2、用命令:
InBlock.gifnet use   # 查看连接

3、断开连接:
net use \\192.168.128.133\askos /del   #net use \\服务器ip /del