nerdexam
GIAC

GSEC · Question #244

GSEC Question #244: Real Exam Question with Answer & Explanation

Sign in or unlock GSEC to reveal the answer and full explanation for question #244. The question stem and answer options stay visible for context.

Question

You work as an Administrator for McRoberts Inc. The company has a Linux-based network. You are logged in as a non-root user on your client computer. You want to delete all files from the /garbage directory. You want that the command you will use should prompt for the root user password. Which of the following commands will you use to accomplish the task?

Options

  • Arm -rf /garbage*
  • Bdel /garbage/.
  • Crm -rf /garbage* /SU
  • Dsu -c "RM -rf /garbage*"

Unlock GSEC to see the answer

You've previewed enough free GSEC questions. Unlock GSEC for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSEC Practice