mount windows shell
来源:互联网 发布:python3 json 编辑:程序博客网 时间:2024/05/01 22:34
#!/bin/kshmy_windows="135.251.27.34"#first ping my windows ping -c 1 -W 2 $my_windows >> /dev/null#anthenticated though the ftp if [[ $? -ne 0 ]]then echo "connect my windows failed,need CSL authentication"; ftp $my_windowsfiping -c 1 -W 2 $my_windows >> /dev/nullif [[ $? -ne 0 ]]then echo "connect my windows failed"; exit 0;fiecho "have connected my windows ......"#find mount filesmount_files=`echo "$(mount)"|awk '{print $3}'`win_mnt=/mnt/huimingf/coderesult=0;for my_mnt in ${mount_files[@]}do if [ "$my_mnt" == "$win_mnt" ] then result=1; break; fidoneif [ $result -eq 1 ]then echo "$my_mnt have mount " echo "umounting $my_mnt ......" ./umount_win.exp echo "umount $my_mnt successfully"fi ./mount_win.expexit 0
mount_win.sh
- mount windows shell
- linux shell之mount
- mount windows 中的汉字
- linux mount windows主机
- linux mount windows 共享
- linux mount windows主机
- linux mount windows
- mount windows 共享
- linux mount windows
- windows mount虚拟机
- adb shell mount android 分区
- linux下mount windows NTFS
- Linux mount Mac and Windows
- mount windows dir to android
- Linux mount CIFS Windows Share
- Windows 2008 mount NFS server
- ubuntu 自动mount windows分区
- Linux mount CIFS Windows Share
- HP-UX ServiceGuard - Logical Volume Manager How to Add a Disk-Volume Group-Logical Volume...
- 根据hostname 实现 Hadoop RackAwareness
- SQL Server
- struts2中使用字段校验
- 红黑树
- mount windows shell
- ENGLISH资料收集(1)-求职简历上的英文
- 如何随机获取数据库不连续ID的数据?
- 山东理工大学 大学生心理健康教育中心 心里情景剧
- 用java实现图片渐变叠加(3种方法)
- 鼠标移上去图片切换且慢慢放大JS特效
- 所见即所得:七大无需编程的DIY开发工具
- ENGLISH资料收集(2)-好久不见
- Eclipse中设置代码的字体