nerdexam
CompTIA

LX0-104 · Question #329

Which command CANNOT be used to mount a shared filesystem in your Linux environment?

The correct answer is E. cifsmount //server/share /mnt -o username=user. The command cifsmount is not a standard utility for mounting shared filesystems in a Linux environment.

Shells, Scripting and Data Management

Question

Which command CANNOT be used to mount a shared filesystem in your Linux environment?

Options

  • Amount.cifs //server/share /mnt -o user=user
  • Bmount -t cifs //server/share /mnt -o user=user
  • Cmount -t smbfs //server/share /mnt -o username=user
  • Dsmbmount //server/share /mnt -o username=user
  • Ecifsmount //server/share /mnt -o username=user

How the community answered

(29 responses)
  • A
    3% (1)
  • D
    3% (1)
  • E
    93% (27)

Why each option

The command `cifsmount` is not a standard utility for mounting shared filesystems in a Linux environment.

Amount.cifs //server/share /mnt -o user=user

`mount.cifs` is a valid helper program for mounting CIFS filesystems, often called by the `mount -t cifs` command.

Bmount -t cifs //server/share /mnt -o user=user

`mount -t cifs` is the standard and most common command used to mount CIFS (Common Internet File System) shares on Linux.

Cmount -t smbfs //server/share /mnt -o username=user

`mount -t smbfs` is an older, though still sometimes supported or aliased, command for mounting SMB shares; `cifs` largely superseded `smbfs` as the preferred filesystem type.

Dsmbmount //server/share /mnt -o username=user

`smbmount` is an older, deprecated command specifically used to mount SMB shares, though it might still be available for compatibility or through symlinks on many systems.

Ecifsmount //server/share /mnt -o username=userCorrect

The `cifsmount` command does not exist as a standard or recognized utility for mounting CIFS shares on Linux systems. The common commands are `mount -t cifs`, `mount.cifs`, or the deprecated `smbmount`.

Concept tested: Linux SMB/CIFS client mounting commands

Source: https://man7.org/linux/man-pages/man8/mount.cifs.8.html

Topics

#mount command#SMB/CIFS client#Linux commands#network shares

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice