
CIS 228 – UNIX System Administration Midterm Name: _______ _________________________
1) To power off a Linux computer, Which of the line com mands will cause his system
to shut down and stop? (Choose the BEST Answer)
A. shutdown
B. halt
C. reboot
D. All of the above
2) The /proc directory contains i nformation about: ______ _________________
3) Which of the followin g directories is the primary repository for Linux configuration informatio n:
A. /usr
B. /etc
C. /home
D. /var
4) Which par titions at a minimu m should be install ed on a machine configured for use as an end-user workst ations?
(Mark all that apply) .
A. /
B. /boot
C. /swap
D. /var
E. /tmp
F. swap
5) What com mand will change the runlevel of a standard LINUX installation from “GUI” to command lin e mode on
the console ______________?
6) Which of the followin g directories is the primary location for system level run time file s:
A. /usr
B. /etc
C. /home
D. /var
7) Which com mands will adda proper ly secured user ID to a UNIX/LINUX syst em?
(Mark all that apply) .
A. ADDACCOUNT.
B. USERADD
C. NEWUSER
D. PASSWORD
E. PASSWD
8) Which of the followin g are true about "c p" and "ln". Why?
A. Both create new directo ry entries in the same disk drive volume .
B. Both create new direct ory entries, but with ln the same file
gets modified- -no matter which direct ory entry is used.
C. The "ln -s" command is the same the cp command since it
creates both a directory and a file entry.
D. both a an d b.
9) Now that you’ve added a user, you need to add them to a special group on the system. Which file do you edit to
do this?
A. /etc/shadow
B. /etc/passwd.
C. /etc/groups
D. /etc/us ers
E. /etc/quota
F. None of the above