You are on page 1of 15

Charotar University of Science and Technology

Devang Patel Institute of Advance Technology and Research


Department of Computer Engineering

1. Installing Linux distribution


 Installing an virtual machine.

 Need to Setup an oracle virtual machine

 After click Next.

20DCE007 1
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 After Click Click Next

20DCE007 2
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 Click Next.

 After click Next

20DCE007 3
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 After click Install

20DCE007 4
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 Click on new and set the path

20DCE007 5
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 Select RAM that is free in your PC

 Click Next

20DCE007 6
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 Select VDI(VirtualBox Disk Image) and click next

 Create a storage size require for ubuntu

20DCE007 7
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 Click Next

20DCE007 8
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 And then Click then installation process is start. After that you need to
download an ubuntu iso file from ubuntu website. And insert it into a
controller id and click ok. Now you need to run the ubuntu and then
installation process will start and it will ask for id and password for
ubuntu.

2. Learning the linux commands.

 mkdir

 rmdir

 pwd

 passwd

20DCE007 9
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

 cat

 cp

 cd

 sort

 file

20DCE007 10
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

3. Find out and write down the location (pathname) where the
kernel executable resides in the default directory tree
(starting with “/ “) of your Linux installation. Find out the
version of your running kernel by using the "uname -r"
command. Write the version number in your report.

4. Download the source code of the Linux kernel (from


kernel.org, for example). Download the version that is close
to the version of your running kernel. After opening the tar
package, change into the root directory of the downloaded
kernel source code (it is in the directory where you
downloaded the tar package), and in your report write the
names of the subdirectories you see there.

5. Not Done

20DCE007 11
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

6. Use the strace command of Linux to trace the systems calls


made by some simple programs like cp, ls, etc. Use the
manual page of strace to learn more about it (type man
strace). Include sample output in your report. The “man”
command provides help pages about Linux commands,
system calls, and C library functions.

20DCE007 12
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

20DCE007 13
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

20DCE007 14
Charotar University of Science and Technology
Devang Patel Institute of Advance Technology and Research
Department of Computer Engineering

7. Use the time command to measure the time required to


execute some programs like cp, etc. It reports different
times: real, user and sys. What are they? Write those values
for different program executions.

8. Not Done

20DCE007 15

You might also like