System Management

A technician must make the contents of /srv/shared appear at /home/ftp/shared for an FTP service. Both paths are on the local ext4 root filesystem, and the data must not be copied or duplicated. Which command does this?

Show the answer

Correct answerA. mount --bind /srv/shared /home/ftp/shared

A bind mount makes an existing directory tree visible at a second path without copying data. The --move option is tempting but only relocates an existing mount point, and /srv/shared is not one here.