Ubuntu howto mount a samba share

How to mount a samba share under Ubuntu OS ?

1. install all dependencies

sudo apt-get install cifs-utils

2. mount the share (in my case without user and password)

sudo mount -t cifs //10.120.145.251/nbs /mnt

3. mount the share (in my case with user and password)

sudo mount -t cifs //10.120.145.251/nbs /mnt -o username=MyUser

Leave a Reply

Your email address will not be published. Required fields are marked *