Wednesday, November 21, 2012

mounting window share folder in ubuntu

I wanted to install mailarchiva on my ubuntu box but i don't want to permanent mount the folder to my ubuntu box as i just need it to access some file during the setup. here are the command to temp mount the folder to your ubuntu box

 1) make a dir , i choose to do in mnt as easier to remember
     mkdir /mnt/setupfile 

 2) let start to mount the file from window share to my ubuntu box
     sudo mount -t cifs //win_share_location/folder /mnt/setupfile -o   user=username,domain=domain,pass=password 


 done ! :)

once you are done and wish to un-mount the folder just type

sudo umount /mnt/setupfile 

No comments: