-1

I accidentally copied my root folder to my local folder using the command cp -r /. Several folders like /boot and /opt were copied.

Is it safe to delete these folders from my local directory using something like rm -r boot?

  • What do you mean with local folder? – mattia.b89 May 1 at 15:15
0

Yes. The files are mere copies, you will not face problems. Deletion of system-critical files would need administrative permissions.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.