Professional Documents
Culture Documents
of CSE
List of Experiments
BTCS9504 – Network Operating System Lab
B.Tech CSE
Ex.
Experiment Name Date Sign
No.
5 User Administration
8 Linux Networking
Galgotias University Dept. of CSE
Experiment 1
Objective: Linux Basic Installation
Go to the website of Oracle VirtualBox and get the latest stable version from here https://www.virtualbox.org/
Next, we need to download the ISO file of the Linux distribution. We can get this image from the official
website of the Linux distribution you are trying to use.
Now we have installed VirtualBox and we have downloaded the ISO for Linux. We are now set to install Linux
in VirtualBox.
Start VirtualBox, and click on the New symbol. Give the virtual OS a relevant name.
Allocate RAM to the virtual OS. My system has 8GB of RAM and I decided to allocate 2GB of it.
Galgotias University Dept. of CSE
Create a virtual disk. This serves as the hard disk of the virtual Linux system. It is where the virtual system will
store its files.
We can choose either the “Dynamically allocated” or the “Fixed size” option for creating the virtual hard disk.
The recommended size is 10 GB. However, I suggest giving it more space if possible. 15-20 GB is preferable.
Galgotias University Dept. of CSE
Experiment 2
Objective: Linux shell and Basic shell commands
Study of Unix/Linux general purpose utility command list obtained from (date, time, cal, whoami, cd, ls,
mkdir, rmdir, echo, kill, history, chmod, pwd ) commands.
(ii) Cal: cal command is used to display a calendar in your shell, by default it will display the current month
(iii) Whoami: whoami command will tell you which user account you are using in this system.
(iv) mkdir, cd, echo, ls: To create the new directory, To change the position from one directory to another, To
create a new file in that directory, To show the list of files/folders in a particular directory.
Galgotias University Dept. of CSE
(v) tree: tree is a recursive directory listing command or program that produces a depth-indented listing of files.
(vii) history:
Galgotias University Dept. of CSE
Experiment 3
Objective: Command Line File Manipulation, file processing, and managing the file system
Study of Unix/Linux File manipulation Commands ( cat, touch, creating multiple files using touch, cp, mv,
rm, head, tail, soft and hard link, zip, unzip,file creation using VI Editor)
Create File:
Rename File:
Galgotias University Dept. of CSE
Word Count, Line Count & Character Count:
Delete:
Unzip file:
Galgotias University Dept. of CSE
Experiment 4
Objective: Basic Bash Scripting, writing and executing bash scripts
(ii) Write a shell Script program to check whether the given number is even or odd.
Experiment 5
Objective: User Administration
Study of Unix/Linux administration Commands ( ls-l, /etc/passwd, becoming superuser, adding new user,
passwd, usermod, userdel, adding a new group)
Ls -l:
Becoming superuser:
Userdel:
Experiment 6
Objective: To study commands for Linux file system permissions.
Experiment 7
Objective: File system mounting
Mounting:
Unmounting:
Galgotias University Dept. of CSE
Experiment 8
Objective: Linux Networking
Study of Unix/Linux Commands ( nslookup, ping, /etc/resolv.conf, host dig, traceroute, tracepath)
Nslookup:
Ping:
Galgotias University Dept. of CSE
/etc/resolv.conf:
host dig:
Traceroute:
Galgotias University Dept. of CSE
Tracepath: