Read the description at the end of Part I that shows the relationship between directory content, inode table and file content before doing this question.
Read the description at the end of Part I that shows the relationship between directory content, inode table and file content before doing this question.
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter7: Creating Templates, Importing Data, And Working With Smartart, Images, And Screenshots
Section: Chapter Questions
Problem 4AYK
Related questions
Question
Read the description at the end of Part I that shows the relationship between directory content, inode table and file content before doing this question.
- Change your working directory to your login directory
- Create the file called share using cat command under your login directory. Enter one or two lines of text in it.
- Display the content of the share file
- Display the number of hard links to the share file ONLY using the long option
- Using echo command, answer how many hard links (hard link count) the share file has.
- Display the inode number for the share file using appropriate option.
- Create the subdirectory, linkdir under your login directory
- Change working directory to Stay in this directory until the rest of this question.
- Create a hard link called share2 to the share Remember that the share file is the parent directory and NOT in the current working directory. Hence, you need to specify correct relative or absolute pathname for share file in your hard link command.
- Display the inode number of share2 file
- Using echo command, answer whether the inode number for share and share2 files is same or different. Look to the earlier command to see the inode number of share
- Using echo command, answer what is the inode number of share2 file
- Display the number of hard links to the share2 file
- Using echo command, answer the number of hard link count to share2
- Create a soft (symbolic) link called softShare to the share Caution: If you specify wrong pathname in the softlink, then you will not be able to display the content of the file; instead the system will display an error message.
- Display the inode number of softShare file
- Using echo command answer whether the inode number of softShare is same as share or not. From the inode number answer whether share and software are same file or two different files.
- Display the attributes of the softShare file using long option in the command. Notice that the number of hard links and the file permission on softShare is different from the share
- Display the content of share2 file
- Display the content of softShare file
- Using echo command, answer whether share2 and softSahre have the same content as that of share file or not
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning