Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


Mount SMB/CIFS from shell

Install cifs-utils

sudo apt-get install cifs-utils

Mount share

sudo  mount -t cifs -o username=<usr>,password=<pwd>,uid=1000,gid=1000 //server/share /mnt_folder

Or if you are using AD to authenticate

sudo  mount -t cifs -o username=<usr>,password=<pwd>,domain=<CONTOSO>,uid=1000,gid=1000 //server/share /mnt_folder


Enter your comment:
P​ A B C P
linux/samba_cifs/cifs_share.txt · Last modified: 2019/10/31 09:05 (external edit)