Puppet Practitioner 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 is used to force stop the signal?

Answer :
  • SIGKILL

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

Answer :
  • chage -l

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

Which of these is the absolute path for the messages file ?

Answer :
  • cd /var/log/messages