0% found this document useful (0 votes)
2 views

7

The document outlines the assessment details for a Level 5 Network Operating System module, including the logbook tasks assigned to student Rahul Shrestha. It consists of various tasks related to directory structure creation, file manipulation, and permission management using command-line tools. The assignment is due on December 21, 2024, and emphasizes the importance of timely submission to avoid penalties.

Uploaded by

Jii Rii
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

7

The document outlines the assessment details for a Level 5 Network Operating System module, including the logbook tasks assigned to student Rahul Shrestha. It consists of various tasks related to directory structure creation, file manipulation, and permission management using command-line tools. The assignment is due on December 21, 2024, and emphasizes the importance of timely submission to avoid penalties.

Uploaded by

Jii Rii
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Network Operating System

Module Code & Module Title


Level 5 –Network Operating System

Assessment Type
Logbook: 7
Semester:3
2023/24 Autumn

Student Name: Rahul Shrestha


London Met ID: 23048993
College ID:
Assignment Due Date: 21/12/2024
Assignment Submission Date:21/12/2024
Submitted To: Mr Prasant Adhikari
Word Count (Where Required):

I confirm that I understand my coursework needs to be submitted online via Google Classroom under the
relevant module page before the deadline in order for my assignment to be accepted and marked. I am
fully aware that late submissions will be treated as non-submission and a mark of zero will be awarded.

Rahul Shrestha 1
Network Operating System

Workshop: Week 7
Task 1: Create the directory structure presented in the figure below.
Use mkdir command and relative pathnames from your home directory. Try both: no
option and – p option, for the command.

Task 2: Change to the 1level3 directory by one step using a relativepathname.

Task 3: Practice in changing directories in your directory structure. By using one


command using relative pathnames, e.g., from 1level3 to 2level3, from 2level3 to 4level3,
from 4level3 to W7, etc. Use names of parent and child directories (‘.’and ‘..’) as well.

Rahul Shrestha 2
Network Operating System

Task 4: Change to 1level3 and create a text file Use any tool (e.g., by cat or cal like last
tutorial).

Task 5: Copy this text file from 1level3 to 1level3 (with the name file1), 2level3, and to
3level3 changing its name. Show that there are these files in corresponding directories.

Rahul Shrestha 3
Network Operating System

Task 6: Move this file to 4level3. Show that there is this file in 4level3 and there is not in
1level3.

Task 7: Print the following texts each in one echo or printf command:
Hello! I can do it.
5 > (20: 8) < (30 * 2)
Line 1 Line 2
a-b, A-B, –, +, , #, $, %, &.

Task 8: Give the ls command (without options and with a, d, g, l, R options) in home
directory, w7, w7-1, and 1level3 directories. Explain for yourself the results received.

Rahul Shrestha 4
Network Operating System

Rahul Shrestha 5
Network Operating System

Rahul Shrestha 6
Network Operating System

Rahul Shrestha 7
Network Operating System

Task 9: Change to the W7 directory. Show use of -i Remove the directory files w7-2,
3level-3, 4level3 and all ordinary files in them. Use the option –i of the rm and rmdir
commands. Show that there are not these ordinary and directory files in your file
structure.

Rahul Shrestha 8
Network Operating System

Task 10: Different permissions for files


1. Change to w7-1.

2. Display access permissions for the file file1 in 1level3.

3. Remove all access permissions for this file.

4. Display access permissions for this file.

5. Try to read this file using any utility (e.g.,cat).

6. Try to write into this file using any utility (e.g., cat with the sign >> – append).

Rahul Shrestha 9
Network Operating System

7. Add read and write access permissions for yourself for this file.

8. Display access permissions for this file.


9. Try to read this file using any utility.

10. Try to write into this file using any utility.

Task 11: Different permissions for directory


1. Display access permissions for 1level3.

2. Remove all access permissions for the 1level3 directory.

Rahul Shrestha 10
Network Operating System

3.Display access permissions for 1level3.

4. Try to read a file from 1level3 using any utility.

5. Try to put a file into 1level3 using any utility.

6. Try to search in 1level3 using any command (e.g., the ls command).

7. Add read, write, and execute access permissions for yourself for the 1level3 directory.

8. Display access permissions for 1level3.

9. Try to read a file from 1level3 using any utility.

Rahul Shrestha 11
Network Operating System

10. Try to put a file into 1level3 using any utility.

11. Try to search in 1level3 using any command (e.g., the ls command).

Rahul Shrestha 12

You might also like