JavaScript is required

Dòng lệnh để cho phép thư mục chia sẻ, gắn kết với host "tiger" có thể đọc và ghi. Dòng lệnh xuất ra là:

A.

/share tiger(rw)

B.

/tiger(rw) /share

C.

/share tiger

D.

/share tiger (rw)

Trả lời:

Đáp án đúng: A


The question is about configuring shared folders in a Linux environment, specifically using NFS (Network File System) or Samba. To allow a server (e.g., "tiger") to have read and write (read-write) access to a shared folder (e.g., "/share"), a specific syntax is used in the NFS exports configuration file (usually /etc/exports) or Samba smb.conf.

Option A: '/share tiger(rw)' - This is almost correct, but it lacks a space before the parenthesis.

Option B: '/tiger(rw) /share' - Incorrect syntax; the order of the shared directory and server are reversed and invalid.

Option C: '/share tiger' - Specifies the shared directory and server, but doesn't specify read/write permissions. It may default to read-only.

Option D: '/share tiger (rw)' - This is the correct syntax. It specifies that the '/share' directory is shared with the 'tiger' server with read and write (rw - read-write) permissions. The space between 'tiger' and '(rw)' is necessary.

Câu hỏi liên quan