System Management

A Windows file server named fs01 publishes a share called finance over SMB. A Linux administrator must mount it at /mnt/finance, supplying the credentials stored in /root/.smbcreds. Which command does this?

Show the answer

Correct answerC. mount -t cifs //fs01/finance /mnt/finance -o credentials=/root/.smbcreds

SMB shares use the cifs filesystem type with //server/share syntax, and the credentials option reads a credentials file. The NFS type is wrong for an SMB share, and smbfs is a long-obsolete type replaced by cifs.