nerdexam
Linux_Foundation

LFCS · Question #325

Which command will mount the accounting share hosted on the Windows server with the NetBIOS name joeserv.

The correct answer is D. mount -t smbfs //joeserv/accounting /mnt. To mount a Windows SMB share named 'accounting' from a server named 'joeserv' onto a Linux mount point '/mnt', the correct mount command syntax is mount -t smbfs //joeserv/accounting /mnt.

Submitted by haru.x· Apr 18, 2026Storage Management

Question

Which command will mount the accounting share hosted on the Windows server with the NetBIOS name joeserv.

Options

  • Amount -t smbfs -h joeserv \accounting /mnt
  • Bmount -t smbfs -h joeserv //accounting /mnt
  • Cmount -t smbfs \joeserv\accounting /mnt
  • Dmount -t smbfs //joeserv/accounting /mnt

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    6% (3)
  • C
    2% (1)
  • D
    90% (46)

Why each option

To mount a Windows SMB share named 'accounting' from a server named 'joeserv' onto a Linux mount point '/mnt', the correct `mount` command syntax is `mount -t smbfs //joeserv/accounting /mnt`.

Amount -t smbfs -h joeserv \\accounting /mnt

This command uses `-h` which is not the correct parameter for specifying the host in `mount -t smbfs` for a remote share, and uses `\accounting` which is incorrect path syntax for Linux mount commands.

Bmount -t smbfs -h joeserv //accounting /mnt

This command uses `-h` which is incorrect for specifying the host, and `//accounting` without the server name directly preceding it is an incomplete remote path specification.

Cmount -t smbfs \\joeserv\accounting /mnt

This command uses `\joeserv\accounting` which is Windows-style path syntax and is not correctly interpreted by the Linux `mount` command for remote SMB/CIFS shares; it requires forward slashes for the remote path.

Dmount -t smbfs //joeserv/accounting /mntCorrect

The `mount` command with `-t smbfs` (or `-t cifs`) requires the remote share path to be specified using the `//server/share` format, which is correctly used in this option.

Concept tested: Mounting SMB/CIFS shares in Linux

Source: https://www.samba.org/samba/docs/current/manpages/mount.cifs.8.html

Topics

#mount command#SMB/CIFS#Remote Shares#Filesystem Mounting

Community Discussion

No community discussion yet for this question.

Full LFCS Practice