Prabin G.C. LB6

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Module Code & Module Title

Level 5 – Network Operating Systems

Assessment Type
Logbook 6
Semester 3rd
2023/24 Spring/Autumn

Student Name: Prabin G.C.


London Met ID: 22067664
College ID: NP01CP4A220096
Assignment Due Date: Tuesday, December 5, 2023
Assignment Submission Date: Tuesday, December 5, 2023
Submitted To: Mr.Dipeshwor Silwal
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.
Table of Contents
Question no 1: ........................................................................................................................ 3
Question no 2 : ........................................................................................................................ 3
Question no 3: ........................................................................................................................ 3
Question no 4: ........................................................................................................................ 4
Question no 5: ........................................................................................................................ 4
Question no 6: ........................................................................................................................ 5
Question no 7: ........................................................................................................................ 6
Question no 8: ........................................................................................................................ 6
Question no 9: ........................................................................................................................ 7
Question no 10:....................................................................................................................... 7
Question no 11:....................................................................................................................... 7
Question no 12:....................................................................................................................... 7

PRABIN G.C. 2
Question no 1:
Type script alscript at the terminal.

Question no 2 :
Type whoami to see your username.

Question no 3:
Type who to see list of the everyone on the system.

PRABIN G.C. 3
Question no 4:
Type finger linuxnnn,(where linuxnnn is your username )to see more information about
your account.

Question no 5:
Type date to see today’s date

PRABIN G.C. 4
Question no 6:
Type three commands. Each produce different outputs.
Ls
Ls -a
Ls -a -l
Type ‘ls’ to list the unhidden directories.

Type ‘ls -a’ to list both hidden and unhidden directories.

Type ‘ls -a -l’ to list out properties of the hidden and unhidden directories.

PRABIN G.C. 5
Question no 7:
Type cat /etc/passwd

Question no 8:
Create a file named test1 by typing this:
echo “This is a one-line file”> test1

PRABIN G.C. 6
Question no 9:
Create another file by typing the following: where ^D means CTRL-D
Cat > test2
This is file two.
It has several lines.
Three lines, in fact.
^D

Question no 10:
Show that the file exists and what it contains.

Question no 11:
Combine test1 and test2 file.

Question no 12:
Exit the script.

PRABIN G.C. 7

You might also like