We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

wolfie on 02/06/08


Tagged

Samba mount CIFS


Versions (?)


Mount a windows share in linux


Published in: Bash 


  1. mount -t cifs //<server>/<share> /mnt/<dir>/ -rw -o user="<domain>/<user>"
  2.  
  3. <server> can be an IP address and <share> can be a long path
  4.  
  5. Take care with spaces though :-)
  6.  
  7. This will prompt you for your password to the windows share.

Report this snippet 

You need to login to post a comment.