Below is shell script to load Windows’ folder share using Ubuntu 10.10:
—
#!/bin/bash umount /var/www/vhosts/saniya/id-ebook.com/httpdocs/gudang umount /var/www/vhosts/saniya/id-ebook.com/httpdocs/gudang2 mount.cifs \\\\ubuntu-pc\\z\\gudang /var/www/vhosts/saniya/id-ebook.com/httpdocs/gudang -o uid=www-data,gid=0,user=ubuntu,pass=xxx,rw mount.cifs \\\\ubuntu-pc\\z\\gudang2 /var/www/vhosts/saniya/id-ebook.com/httpdocs/gudang2 -o uid=www-data,gid=0,user=ubuntu,pass=xxx,rw