Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

network operating systems

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
Give the complete absolute path for the script cpuspeed:   /etc/rc.d/init.d/cpuspeed  
🗑
Which of these links will the init process use first upon booting   s02lvm2-monitor  
🗑
As root user, what command would you use to restart the system daemon lvm2-monitor.   service lvm2-monitor restart  
🗑
You have just added this rule to your /etc/rsyslog.conf *.alert;mail.none;news.none Where does the it cause the rsyslog messages to be placed?   /var/log/alerts  
🗑
What kind of rsyslog messages will it cause to be placed there? And which will explicitly not be placed there?   All alert priority messages for all facilities except the mail and news facilities.  
🗑
List 2 different methods to tell rsyslog to re-load its configuration file?   kill -SIGHUP $(pgrep rsyslogd) service rsyslog restart  
🗑
Show the output of the following? and if they fail? unset x; declare x; echo ${x:=user}   user  
🗑
unset x y; x="med"; y="carib"; echo '$y $x'   $y $x  
🗑
if grep -q '^chair:' /etc/passwd then; echo chair; else echo not; fi   the first semicolon is in the wrong place  
🗑
unset x; declare x=aflame; echo ${x:1}   flame  
🗑
unset y; declare y=algonquin; echo ${y:3:4}   onqu  
🗑
unset x; mkdir yy; cd yy; touch water air fire; for x in *; do echo $x > $x; done; cat *; cd..; rm -rf yy   air fire water  
🗑
unset x y; declare -i x=15 y=8; echo $(( $x $y ))   1  
🗑
if ! [ -f /etc/rsyslog.conf ]; then echo system broken; fi   nothing  
🗑
unset i; declare -i i=2; while (( i >= 0 )); do echo -n i = $i"; "; (( i-- )); done; echo   i = 2; i = 1; i = 0  
🗑
unset x y; x="biscay"; y="bengal"; echo "$y $x"   bengal biscay  
🗑
   
🗑
There is a rule in your /etc/ryslog.conf *.err;authpriv.non;cron.none /var/log/errors What kind of rsyslog messages will it cause to be placed there? And what kind will not?   Messages for all facilities except authpriv and cron at the err priority  
🗑
use the rsyslog servers or daemon to place the text message "no errors" there on behalf of the syslog facility. Include your pid and the tag "GOOD" with the message.   logger -i -t GOOD -p syslog.err "no errors"  
🗑
unset x; declare x=cat; echo ${x:-dog}   cat  
🗑
unset x y; x="apple"; y="hp"; echo '$y $x' $y $x   $y $x  
🗑
if grep -q '^root:' /etc/shadow; then echo root; else echo not; fi   root  
🗑
unset x; declare x=frog; echo ${x:1}   rog  
🗑
unset y; declare y=bird; echo ${y:2:2]   rd  
🗑
unset x; mkdir yy; touch camel llama jenny for x in $(ls); do echo $x > $x; done; cat *;[snip]   camel jenny llama  
🗑
unset x y; declare -i x=13 y-9;echo $(( $x - $y ))   4  
🗑
unset y; declare y; echo ${y:-fish}   fish  
🗑
if ! [ -f /etc/passwd ]; then echo logging broken; fi   nothing  
🗑
unset x y; x="plum"; y="cherry", echo "$y $x"   cherry plum  
🗑
give the complete name of gpm   /etc/rc.d/init.d/gpm  
🗑
Which of these are processed in sequence;   S8[1-9]  
🗑
as root user, what command would you use to restart the system daemon abrtd?   service abrtd restart  
🗑
this is a rule in you /etc/rsyslog.conf as follows: *.err;authpriv.none;cron.none /var/log/errors a) Where does it cause rsyslog messages to be placed   /var/log/errors  
🗑
this is a rule in you /etc/rsyslog.conf as follows: *.err;authpriv.none;cron.none /var/log/errors b) what kind of rsyslog messages will it cause to be placed there?   Messages for all facilities except authpriv and cron at the err priority  
🗑
this is a rule in you /etc/rsyslog.conf as follows: *.err;authpriv.none;cron.none /var/log/errors c) use the rsyslog service (or the rsyslogd daemon) to place the test message "no errors today" there on behalf of the syslog facility.   logger -p syslog.err "no errors today"  
🗑
Outputs of the following command: unset x; declare x=dog; echo ${x:-cat}   dog  
🗑
Outputs of the following command: unset x y; x="apple"; y="banana"; echo '$y $x'   $y $x  
🗑
Outputs of the following command: unset y; declare y; echo ${y:=bird}   bird  
🗑
Outputs of the following command: if grep -q '^root:' /etc/password; then echo root; else echo not; fi   root  
🗑
Outputs of the following command: unset x; declare x=dog; echo ${x:1}   og  
🗑
Outputs of the following command: unset y; declare y=fish; echo ${y:2:2}   sh  
🗑
Outputs of the following command: unset x; mkdir yy; cd yy; touch cow mule horse for x in $(ls); do echo $x > $x; done; cat *;   cow horse mule  
🗑
unset x y; declare -i x=14 y=9;echo $(( $x - $y ))   5  
🗑
if ! [ -f /etc/shadow ]; then echo system brok; fi   nothing  
🗑
unset x y; x="peach"; y="melon"; echo "$y $x"   melon peach  
🗑
Use the rsyslog service (or the rsyslogd daemon) to place the text message "no errors" there on behalf of the syslog facility. Include your pid and the tag “GOOD” with the message.   logger -i -t GOOD -p syslog.err "no errors"  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: Tranith
Popular Computers sets