mount -t cifs //server/share /mnt/windows -o username=alice

Category: Administration

mount -t cifs //server/share /mnt/windows -o username=alice

Mount a Windows SMB share

Attaches the SMB share //server/share to /mnt/windows using CIFS, authenticating as user alice. You are prompted for the password unless a credentials file is given. This is the Linux client side of Samba and Windows file servers.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.