Which command is used to link the files? A. lk B. ln C. cp D. tar E. None of the above

[amp_mcq option1=”lk” option2=”ln” option3=”cp” option4=”tar E. None of the above” correct=”option2″]

The correct answer is: B. ln

The ln command is used to create a hard link to an existing file. A hard link is a directory entry that points to the same inode as another file. This means that both files will have the same contents and permissions.

The lk command is not a valid command.

The cp command is used to copy files.

The tar command is used to create and extract archives.

None of the above options are used to link files.