Published on

Mount Windows (or Samba) share on Linux


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 :
// /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.