Unformatted text preview:

1. CS 302 System Administration1.CS 302 System Administration1)Who talks more strangely, Kermit the Frog or The Cookie Monster?Yes, my name is on the test.No, I left my name off the test because I want a zero.2)On euclid, what is the home directory for dwilder? _____________________________3)On euclid, how much disk space is being used by the people of /home? You MUST answer in megabytes. _________________________M4)Suppose you type 'ls' and see the line below. -rw-rw---w-- 1 kermit cast 10630 Feb 14 15:50 frogger.exeWho can read the file? _________________________________________________Who can write to the file? ______________________________________________Who can run the program? _____________________________________________5)My web log /var/log/httpd/access_log has 10,000 lines, 20,000 words, and 100,000 bytes. How many web hits did I receive? _________________________6)Euclid is running sendmail. Mail is sent at midnight from [email protected] to [email protected]. Kermit does not read his mail until four hours have passed. He doesn't even check his mail for those four hours. Where was the mail stored for most of that time? 1.On publictv.co.uk, in kermit's home directory. 2.On keeblerfan.org in cookiemonster's home directory. 3.On publictv.co.uk, in /var/spool/mail/kermit. 4.On keeblerfan.org in /var/spool/mail/cookiemonster. 5.It's traveling across the network. 6.None of the above. 7)I can ssh to any machine in the world except piggie.co.uk. Piggie.co.uk receives ssh requests from other people, but not me. What file should I check?8)Ms. Piggie's computer boots, and other people can log into to. However, when she logs intoher computer, it logs her right back out. She says that it's probably because /bin/bash is missing and the other people must be using some other shell. Is she possibly right?9)Which other file might I also check to discover Ms. Piggie's problem? ______________10)The partition table for Bert and Ernie's computer is corrupted. What's the first symptum they notice?11)What command can I use to tell if my hard drive is full?12)My computer boots just fine into text mode. I wish it would boot into graphics mode. What file should I change? _____________________________13)On euclid, how many total accounts are there counting everything?14)BurtAndErnie.com seems unable to NFS mount Piggie.co.uk. List two files I should checkto diagnose this problm.15)About how many processes are running on euclid right now?16)When does /etc/rc.d/rc.local run?Early during the boot process.Late during the boot process.When a user logs in.When a user logins in on the console (not over the network).None of these lousy answers.17)The Cookie Monster spends most of his time in the kitchen and is not a computer guy.The file ifconfig is missing. What would the Cookie Monster notice about this computer?18)How many files on euclid:/usr/bin have a 's' and then later a 't' in the file name?19) (True/False) You need read permission to execute a binary file. In other words, you need read permission on /bin/ls to run /bin/ls.(two points) Write me a shell script that prints 'yes' if the network is workiing and 'no' if the network is down. Running this program should produce either a 'Yes' or a 'No'.(two points) Write me a shell script that prints the number of Kermit's friends logged onto thesystem. Kermit is friends with mspiggie, burt, and ernie. Running this program should produce either a '0', a'1', a'2', or a '3'. Hint: Try the command


View Full Document

NMU CS 302 - Study Guide

Documents in this Course
Load more
Download Study Guide
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Study Guide and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Study Guide 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?