Project Management Answers

Complete the Qwiklab Creating, Modifying and Removing Files and Folders in Linux before answering this question. You accidentally stored two copies of the file taxes_2023.pdf. One copy is in the Linux directory /home/users/documents. The other copy is in the Linux directory /home/users/documents/taxes. Which command should you use to delete the file from the documents folder?

Q: Complete the Qwiklab Creating, Modifying and Removing Files and Folders in Linux before answering this question.
You accidentally stored two copies of the file taxes_2023.pdf. One copy is in the Linux directory /home/users/documents. The other copy is in the Linux directory /home/users/documents/taxes.
Which command should you use to delete the file from the documents folder?

or

Q: Before responding to this question, finish the Qwiklab Creating, Modifying and Removing Files and Folders in Linux.
It just so happened that you stored two versions of the taxes_2023.pdf file. The Linux directory /home/users/documents has one copy. The Linux directory /home/users/documents/taxes has the other copy.
In order to remove the file from the documents folder, which command should you use?

  • rm /home/users/documents/taxes
  • mv /home/users/documents/taxes/taxes_2023.pdf
  • rm /home/users/documents/taxes_2023.pdf
  • rm /home/users/documents/taxes/taxes_2023.pdf

Explanation: This command deletes the specific file taxes_2023.pdf located directly in the /home/users/documents directory.

Leave a Reply

Your email address will not be published. Required fields are marked *