Question: could you check my work and help with section 5? c. (10) Perform the following steps in order, answer the questions in the order listed.

c. (10) Perform the following steps in order, answer the questions in the order listed. Enter the following commands in an Ubuntu 16.04 LTS x86-64 terminal session. [101]$ mkdir explore [102] $ cd explore/ [103] $ mkdir foo [104]$ mkdir foo/bar [105] mkdir bar [106] $ echo hello world > hello.txt [107]$ ls -lai [2/_/0] Section 1. What character does Is use to indicate a directory? What character does Is use to indicate a regular file? What is the reference count for the current working directory? What is the reference count for foo/? What is the reference count for hello.txt? 1196628 What is the i-node for hello.txt? [108]$ cat hello.txt [109] $ In hello.txt hello2.txt [110] $ In -s hello.txt hello3.txt [111]$ cat hello2.txt [112]$ cat hello3.txt [113]$ ls -lai [2/_/0] Section 2. What is the reference count for hello.txt? What is the reference count for hello2.txt? What is the i-node for hello2.txt? 1 196628 What is the reference count for hello3.txt? What is the i-node for hello3.txt? 1146572 [2/__/0] Section 3. What character does Is use to indicate a symbolic link? True / False Creating a hard link creates a new entry in the i-node Table. False True Creating a symbolic link creates a new entry in the i-node Table. [114]$ rm -f hello.txt [115]$ cat hello2.txt [116] $ ls -lai What is the reference count for hello2.txt? CALE [117]$ cat hello3.txt [27_70] Section 4. Describe why the previous command fails. We cleated hello, txt via Then we remaed hello.txt I to reach hellehtxt. symbolic so here linh is from hello,ts no way [118]$ rm -f hello2.txt [119]$ ls -lai [2/__/0) Section 5. Describe when an i-node and the data blocks associated with an i-node are actually removed from the file system on disk, use terms associated with an i-node. You may remove the remaining files and directories you created. d. 27 70) Read the link (2) man page, read the symlink (2) man page, read the unlink(2) man page, and answer the following questions. The result of a call to link is similar to which command line from Part 2.c? The result of a call to symlink is similar to which command line from Part 2.c? Which command from Part 2.c makes use of the unlink system call? c. (10) Perform the following steps in order, answer the questions in the order listed. Enter the following commands in an Ubuntu 16.04 LTS x86-64 terminal session. [101]$ mkdir explore [102] $ cd explore/ [103] $ mkdir foo [104]$ mkdir foo/bar [105] mkdir bar [106] $ echo hello world > hello.txt [107]$ ls -lai [2/_/0] Section 1. What character does Is use to indicate a directory? What character does Is use to indicate a regular file? What is the reference count for the current working directory? What is the reference count for foo/? What is the reference count for hello.txt? 1196628 What is the i-node for hello.txt? [108]$ cat hello.txt [109] $ In hello.txt hello2.txt [110] $ In -s hello.txt hello3.txt [111]$ cat hello2.txt [112]$ cat hello3.txt [113]$ ls -lai [2/_/0] Section 2. What is the reference count for hello.txt? What is the reference count for hello2.txt? What is the i-node for hello2.txt? 1 196628 What is the reference count for hello3.txt? What is the i-node for hello3.txt? 1146572 [2/__/0] Section 3. What character does Is use to indicate a symbolic link? True / False Creating a hard link creates a new entry in the i-node Table. False True Creating a symbolic link creates a new entry in the i-node Table. [114]$ rm -f hello.txt [115]$ cat hello2.txt [116] $ ls -lai What is the reference count for hello2.txt? CALE [117]$ cat hello3.txt [27_70] Section 4. Describe why the previous command fails. We cleated hello, txt via Then we remaed hello.txt I to reach hellehtxt. symbolic so here linh is from hello,ts no way [118]$ rm -f hello2.txt [119]$ ls -lai [2/__/0) Section 5. Describe when an i-node and the data blocks associated with an i-node are actually removed from the file system on disk, use terms associated with an i-node. You may remove the remaining files and directories you created. d. 27 70) Read the link (2) man page, read the symlink (2) man page, read the unlink(2) man page, and answer the following questions. The result of a call to link is similar to which command line from Part 2.c? The result of a call to symlink is similar to which command line from Part 2.c? Which command from Part 2.c makes use of the unlink system call
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
