Linux System Administration l Quiz Questions and Answers

Which Linux directory stores the configuration files?

Answer :
  • /etc

I declared a variable SCORE=90, how to call variable using echo command ?

Answer :
  • echo $SCORE

Which command can be used to count the number of words in a text file?

Answer :
  • wc

Which command tells information about password properties such as password expiry?

Answer :
  • chage -l

Which command is used to force stop the signal?

Answer :
  • SIGKILL

Where is the group information stored , if want

Answer :
  • /etc/group

I have encoutred an issue in receiving emails I want to check the mail logs of my machine and I want the updated logs to be continously displayed , which command can I use to view the current logs of my mailserver?

Answer :
  • tail -f /var/log/maillog

‘Kill %s’ command will?

Answer :
  • terminate the job whose command line starts with s

Which command allows to view the current jobs being handled by the shell?

Answer :
  • jobs

Which part of the command adjusts and changes the behavior of the command ?

Answer :
  • option