Red Hat System Administration I (RH124) Quiz Questions and Answers

Which command is used to go back to the user's home directory?

Answer :
  • cd

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

In which configuration file would you set the hostname?

Answer :
  • /etc/hostname

Which Bash shortcut or command is used to clear characters from the cursor to the end of the command line?

Answer :
  • Pressing Ctrl+K

Which command prints the line of text in cat backwards format?

Answer :
  • tac

In which directory all my commands get stored ?

Answer :
  • /usr/bin