[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - Quiz Questions Compiled

Quiz Questions Compiled

UNIX/Linux System Administration

Quiz Questions Compiled

Postby fred deakin on Tue Dec 16, 2008 12:07 pm

Feel free to add if I missed something:

Quiz 1

Paperwork

*****************************************************************

Quiz 2

1. What command should be used to edit the /etc/passwd file?

vipw

2. What file should be customized to give a specific user a custom path?

.bash_profile

3. How do you lock out a user so they cannot login?

passwd -l [login]

or

usermod -L [login]


******************************************************************

Quiz 3

What are the names of the binary files that hold quota limits and where are they located?
aquota.user
aquota.group
located in root of the partition


What full command shows the volume label of an ext2 or ext3 partition?
dumpe2fs /dev/sda7 | more

What is the name of the command to check and repair filesystems?
fsck -f /dev/sda7


*******************************************************************

Quiz 4

1. What are three ways CUPS can be configured?

edit config files, using GUI, and the command line

2. What URL is used for the CUPS web-based management tool?

http://localhost:631/

3. What two commands can be used to delete print jobs?

lprm and cancel


********************************************************************

Quiz 5

1. priority level higher than "error" and less than "alert" ?

critical

2. command to list a user's cron jobs?

cron -l

3. command showing a dynamic list of processes sorted by CPU usage?

top
fred deakin
 
Posts: 23
Joined: Tue Sep 02, 2008 7:11 pm

Re: Quiz Questions Compiled

Postby mary talpas on Tue Dec 16, 2008 12:15 pm

quiz 5 no.2 isn't the answer crontab -l
mary talpas
 
Posts: 40
Joined: Tue Sep 02, 2008 8:31 pm

Re: Quiz Questions Compiled

Postby Jonathan Simms on Tue Dec 16, 2008 2:20 pm

Quiz 3, question 2, is dumpe2fs [i]device[/i] | grep volume or tune2fs -l [i]device[/i] | grep volume

By the way, thanks for compiling this.
Jonathan Simms
 
Posts: 119
Joined: Tue Sep 02, 2008 7:11 pm

Re: Quiz Questions Compiled

Postby janischaffin on Tue Dec 16, 2008 4:50 pm

Yes, thanks for posting!
janischaffin
 
Posts: 43
Joined: Tue Sep 02, 2008 6:49 pm

Re: Quiz Questions Compiled

Postby jeff clark on Tue Dec 16, 2008 5:05 pm

Much appreciated.
jeff clark
 
Posts: 26
Joined: Tue Sep 02, 2008 7:11 pm
Location: Santa Cruz

Re: Quiz Questions Compiled

Postby Kayla Smith on Tue Dec 16, 2008 11:18 pm

Thanks, this helped make my studying more efficient
Kayla Smith
 
Posts: 67
Joined: Tue Sep 02, 2008 7:11 pm


Return to CIS 191B - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron