CLI to mount a Windows share from Linux

Robert Leong -

Examples:

From a terminal to manually mount, this will go away on a reboot.

# mount -t cifs //192.168.1.4/labstorage /mnt/labstorage -o username=jamesbond,password=doubleoseven


Add this entry to /etc/fstab to have it mount on reboots:

  //192.168.1.210/nasbox /media/nasbox cifs username=nasuser,password=naspasswd,sec-ntlm 0 0
Have more questions? Submit a request

0 Comments

Article is closed for comments.