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.
Question
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)- A3% (1)
- D3% (1)
- E93% (27)
Why each option
The command `cifsmount` is not a standard utility for mounting shared filesystems in a Linux environment.
`mount.cifs` is a valid helper program for mounting CIFS filesystems, often called by the `mount -t cifs` command.
`mount -t cifs` is the standard and most common command used to mount CIFS (Common Internet File System) shares on Linux.
`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.
`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.
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
Community Discussion
No community discussion yet for this question.