0

As title says,I don't know what other harm has been done. All i see my shell change from User/Myname to -bash-3.2$

I am scared to restart system. What Harm would have been done?

  • Based of knowledge from BSD/Linux, there is usually very few files, if any, in the root directory, except the kernel. Which is critically important to boot. Macs may be different. If you did delete the kernel file in the OS's I've worked with more, that can have severe impact: you wouldn't be able to boot. However, if something like that happens, know that the fix is relatively easy with the proper resources. (You may need a boot disc, and/or another system running the same operating system, and/or swapping hard drives temporarily. So some work, but not a full re-install, so don't panic) – TOOGAM Feb 26 '15 at 18:17
  • I am able to boot and it seems bash and my user profile related items removed – Volatil3 Feb 26 '15 at 18:53
1

If it was rm *, you're probably OK. That won't delete directories, and there shouldn't be any important files in the root directory. There are three symlinks you should probably recreate, though -- var for private/var, tmp for private/tmp and etc for private/etc.

  • I get stuck on blue screen. Can you move this into apple forums? – Volatil3 Feb 26 '15 at 19:05

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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