Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide a whole screenshot a) Go to your Documents directory; b) Create a file file1 with the text hello in it; c) Create a

Please provide a whole screenshot

a) Go to your Documents directory;

b) Create a file file1 with the text hello in it;

c) Create a hard link named file2 linked to file1;

d) Create a soft link named soft1 linked to file1; create another soft link named soft2 linked to file2.

e) View information of the 4 files (what command should you use to produce some output same to the figure below) whats the difference of these 4 files?

f) Are contents of the 4 files the same? What command do you use to verify that?

g) Create a hard link file3 linked to soft1.

h) Use a text editor (Nano or VIM) to edit soft2: change hello to hello, world. Now, what is the content in each of the 5 files? Are they the same? What if you change the text in any of these files?

i) Rename file1 to change. Now, how many files can you still open and view the content? Use the same command you used in step e) to view file information. Whats the change?

j) Use a text editor to edit file3: type Linux and save. Now what will happen? Which files share the same content? Why?

k) List all files you have now (use the -l option).

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

Step: 3

blur-text-image

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

ISBN: 133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

=+ 9. What is inflation and what causes it?

Answered: 1 week ago

Question

=+6. What does the invisible hand of the marketplace do?

Answered: 1 week ago