Introduction to Linux environment Quiz Questions and Answers

I am reading a man page and want to go down one screen; which key should I press from my keyboard?

Answer :
  • Spacebar

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 want to print the today's day in my terminal, which command is right?

Answer :
  • echo $(date +%A)

Create a two-level directory with a single command.

Answer :
  • mkdir -p dir1/dir2

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

Answer :
  • echo $SCORE

Which command is used to view all files newest comes at last?

Answer :
  • ls -alrt

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

What is job number?

Answer :
  • a unique number, assigned to each job in shell