Session ID: 136
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: Unanswered
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].
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].
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].
Which command creates a hard link by default?
Status: Unanswered
Your Answer:
Options:
Explanation:
By itself, ln creates a hard link [1].
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].
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].
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].
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].
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].
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].