Operating System Lab Exam Questions
- First create a directory with name of
OS Exam
, Attention thatspace character
is required betweenOS
andExam
. - In created directory, create a file named
cpu_info.txt
. - With related commands, show your system's CPU information, then look for item
CPU max Hz
and write down your cpu frequency insidecpu_info.txt
file. - Create another directory named
Backup Directory
. - Copy
cpu_info.txt
toBackup Directory
with any name you like. - In the main
cpu_info.txt
file write your name at the end of file then save it. - Show contents of both main and copied files.
- First create a directory with name of
OS Exam
, Attention thatspace character
is required betweenOS
andExam
. - In created directory, create a file named
storage_report.txt
. - With related commands, show your system's Storage information in
human readable mode
, then look for free storage available atRoot Directory ('/')
and write down insidestorage_report.txt
file. - Create another file named
memory report.txt
, Attention thatspace character
is required betweenmemory
andreport.txt
. - With related commands, show your system's Memory information in
human readable mode
, then look for used memory at and write down insidememory report.txt
file. - Show contents of both files.
- With related commands, show your system's Network information, then look for information about
localhost
or shortlylo
and write down its IP. - With related commands, check your system's network connection with wrote down IP.
- With related commands, show your username.
- With related commands, establish a secure connection session from your system to that wrote down IP.
- In established secure connection session, show information and listener ports of your system.
- Connect yoru system to the internet.
- With related command, show contents of web page with link of
ascii.live/can-you-hear-me
in your terminal. - Also show contents of
ascii.live/forrest
. - Check your connection quality and speed to both links.
- Connect your system to the internet.
- With related command, track routes of your system's network packets to the
google.com
. - In routes you found, look for route with title of
gateway
then wrote down its IP. - Check your connection quality of wrote down gateway IP and save it to file named
pong.txt
. - With related command of converting domain to IP and vice versa, show IP of
google.com
. - Do step 4 for step 5 again.
- Create a directory with any name you like.
- Copy file with name of
cpuinfo
from you system's root directory path/proc/cpuinfo
to your created directory. - With related command, look for text
MHz
in copiedcpuinfo
file. - Do step 3 but add related command that saves output of search result into a file named
results.txt
.
- First create a directory named
Backup
. - Inside the directory, create two files:
file1.txt
andfile2.txt
. - Write your full name into
file1.txt
using theecho
command andredirect the output to file
. - Write your student id into
file2.txt
using theecho
command andredirect the output to file
. - Compress both files into zip file named
archive.zip
. - Delete
file1.txt
andfile2.txt
. - Extract the contents of
archive.zip
into created directory with name ofBackup
. - Show contents of both files.