Mount a windows share in linux


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.