PDF File

Latest GAQM LCP-001 Practice Questions BY Blair

Question 1

Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?

  • A. cut -30 -v /var/log/bigd.log
  • B. head -30 -e /var/log/bigd.log
  • C. tail -f -n 30 /var/log/bigd.log
  • D. tac -30 /var/log/bigd.log
  • E. cat -r -n 30 /var/log/bigd.log
Question 2

You are logged in as user tux1, but now you want to switch users to tux2 with tux2's environment. How would you do this?

  • A. su tux2
  • B. su -e tux2
  • C. su - tux2
  • D. su -m tux2
  • E. su -f tux2