Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GSEC Topic 9 Question 6 Discussion

Actual exam question for GIAC's GIAC Security Essentials exam
Question #: 6
Topic #: 9
[All GIAC Security Essentials Questions]

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. He is working as a root user on the Linux operating system. He wants to delete his private.txt file from his operating system. He knows that the deleted file can be recovered easily. Hence, he wants to delete the file securely. He wants to hide the shredding, and so he desires to add a final overwrite of the file private.txt with zero. Which of the following commands will John use to accomplish his task?

Show Suggested Answer Hide Answer
Suggested Answer: C

According to the scenario, John will use the shred -vfuz private.txt command. The shred command with the -z option adds a final overwrite

with zeros to hide shredding.

Answer option D is incorrect. This command removes the file forcibly, but it does not perform a secure deletion.

Answer option B is incorrect. This command overwrites the file forcibly with changing permissions to allow writing.

Answer option A is incorrect. The rmdir command is used to remove the directories but not the files. The rmdir command is used to remove a

directory in a Linux computer.

Syntax:

rmdir [options] <directory name>

Example:

The following command will remove a directory named xdir from the /home/user directory:

rmdir /home/user/xdir


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel