Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new file and create a hard link and a symbolic link to it. Use vim or redirection to add content of the original

Create a new file and create a hard link and a symbolic link to it. Use vim or redirection to add content of the original file, then use cat and wc to examine each of the two aliases that you created. How does the result prove or disprove that either alias is a copy of the original file?

In your home directory create a hard link and a symbolic link to one of the commands that you know how to use in /usr/bin. For each verify whether or not you can use your hard or symbolic link to execute the command.

Create both a hard link and a symbolic link to the symbolic link you created in the previous step. If either of these work this introduces 2 levels of indirection which you can think of as: file2 -> file1 -> cmd

Record the commands you used. Test and report on which (if any) of these secondary links can be used as an alias to the command.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions