Published on

Mount Windows (or Samba) share on Linux

Authors

After a suitable mount-point is created (in this example mkdir -p /mnt/fscapital_server/), into /etc/fstab put the following (all on one line) :

# Mount windows Server drive :
//192.168.10.120/server /mnt/fscapital_server/ cifs username=andrewsm,password=whatever 0 0

where each of the spaces above is really a cntrl-t (Tab) - just for neatness, really.

Then one can mount /mnt/fscapital_server/ and see the drive immediately with ls -l /mnt/fscapital_server/. Simple.