BİLKENT UNIVERSITY
DEPARTMENT OF COMPUTER TECHNOLOGY AND PROGRAMMING
CTP203 Operating Systems Spring 2000 LAB ASSIGNMENT # 8 |
|
Instructor : Can Uğur AyferAssistant : |
Date : 17-18 April 2000Week : 11 |
On the CTP UNIX host gunes, the students’ home directories are under /home/ctp/stu.
1
Write a PERL script to check each CTP student’s home directory for a personal web page and create a report to list those who have one.Your report should look something like this:
UserID Full Name Has a Personal Web Page?
====== ================== =====================
cayfer Can Ugur Ayfer yes
mayfer Murat Ayfer no
xyz Ahmet Mehmet unknown
abc Veli Ali yes
etc etc etc etc
Hint 1: Any user who has a personal web page(s), the related files must be located under a readable directory called “public_html”.
Hint 2: You need to use the “finger” UNIX command to see what the full name is for a user with known user-id.