Save
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.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
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

Linux mid 2

network operating systems

QuestionAnswer
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"
Created by: Tranith
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards