Session Review

Session ID: 136
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (104.6-023 / command_line)

Enter the command that creates a symbolic link named softlink in /home/carol/Documents pointing to target.txt in the current directory.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln -s target.txt /home/carol/Documents/softlink

Explanation:
The lesson gives this exact command as the example for creating a symbolic link [1].

Question 2 (104.6-024 / command_line)

Enter the command that creates a hard link named receitas.txt to recipes.txt in the current directory.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln recipes.txt receitas.txt

Explanation:
The lesson provides this exact example in the explorational exercise [1].

Question 3 (104.6-028 / multiple_choice)

If ls -l shows a link count of 4 on a regular file, what does that mean?

Status: Unanswered

Your Answer:

Options:

Explanation:
Every hard link pointing to a file increases its link count by one, so a count of 4 means four names point to the same inode [1].

Question 4 (104.6-005 / multiple_choice)

Which command creates a hard link by default?

Status: Unanswered

Your Answer:

Options:

Explanation:
By itself, ln creates a hard link [1].

Question 5 (104.6-017 / multiple_choice)

What is the difference between a hard link and a copy of a file?

Status: Unanswered

Your Answer:

Options:

Explanation:
A hard link is just another name for the same data on disk, while a copy is a separate independent entity [1].

Question 6 (104.6-026 / command_line)

Enter the command that creates a symbolic link named softlink pointing to /home/carol/Documents/original.txt using an absolute path.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln -s /home/carol/Documents/original.txt softlink

Explanation:
The lesson gives this exact command as the way to prevent the link from breaking when moved [1].

Question 7 (104.6-025 / command_line)

Enter the command that creates a symbolic link named rezepte.txt pointing to receitas.txt in the current directory.

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln -s receitas.txt rezepte.txt

Explanation:
The lesson provides this exact example in the explorational exercise [1].

Question 8 (104.6-018 / short_answer)

Which command creates a symbolic link named text.txt in the current directory pointing to /home/carol/Documents/document.txt?

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln -s /home/carol/Documents/document.txt text.txt

Explanation:
The lesson answer gives this exact command [1].

Question 9 (104.6-019 / short_answer)

Which command creates a hard link named hardlink in /home/carol/Documents pointing to target.txt in the current directory?

Status: Unanswered

Your Answer:

Accepted Answer(s):
ln target.txt /home/carol/Documents/hardlink

Explanation:
The lesson gives this exact example command for creating a hard link [1].

Question 10 (104.6-003 / multiple_choice)

What best describes a hard link?

Status: Unanswered

Your Answer:

Options:

Explanation:
A hard link is another name for the original file and points to the same inode and data [1].