PUSAT PENGAJIAN DIPLOMA
LABORATORY REPORT
YEAR / PROGRAM 1 DAT
COURSE CODE/NAME DAT10303
BASIC OPERATING SYSTEM
LAB No.– TITLE LABSHEET 3 – DIRECTORY STRUCTURE
LAB DATE 27 OCT 2014
No. NAME MATRIC No. SECTION
1 ABDUL AZIZ BIN ABDUL HADI AA 140914 4
2 MU AHMAD UWAIS AL SYAQIQ BIN RAHAMAT AA 141570 4
3 MOHAMAD SAMIR BIN KHAIRUL ANUAR AA 141601 4
Comments (by Instructor) Marks
Earned
Question 1
247650
-635116840 centertop centertop centertop centertop centertop centertop
Question 2
Continue to explore the file system tree using cd,ls,pwd and cat . look in / bin/ usr/bin,/ sbin / tmp and boot. What do you see :
centertop
centertop centertop centertop centertop centertop
Question 3
1841546990
centertop
0259080
Question 4
Explore /proc. Display the contents of the files interrupts, devices, cpuinfo, meinfo and uptime using cat. Can you see why we say /proc is a pseudo-filesystem which allows access to kernel data structures :
centertop centertop centertop centertop centertop centertop Question 5
Type cd ~user1
63517780
Question 6
Type cd or cd /home/zizaozazi to back to your home directory
3048039370
Question 7
Type mkdir -p /home/zizaozazi/Downloads/work and mkdir -p /home/zizaozazi/Downloads/play to create directory work and play one by one. centertop Question 8
Delete the subdirectory called work by typing rm -r /home/zizaozazi/Downloads/work centertop Question 9
Type copy the file /etc/psswd into your home directory. centertop Question 10
Type mv passwd /home/zizaozazi/Downloads/play/ centertop Question 11
Change into subdirectory play and create a symbolic link called terminal that points to your tty device . ehat happen if you try to make a hard link to the tty device.
Question 12