-1

i enter "rm -rf /obj" erroneous .now my system is broken! :( for example i enter ls terminal return : OH NO i go to copy terminal massage ,my system on sleep mode! now i enter pass dm returns : pass incorrect (!). dm is freeze. i want to restart the os. in power tab power off or reboot and etc. not existence ! (my ubuntu in a VMware vm) i restart my vm and in start Linux i see many errors and next i see this : my sys err i very sad. 😭😭😭😭😭😭😭.please help me!!!!!!!!! 1

4
  • 3
    Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Sep 16, 2021 at 7:54
  • 1
    There is usually no /obj directory on Linux, are you sure that was the command? Did you run it as root?
    – golimar
    Commented Sep 16, 2021 at 8:02
  • Also please provide exact error- and other messages you see, otherwise it's simply not possible to even guess what's going on.
    – Peregrino69
    Commented Sep 16, 2021 at 8:53
  • yes i in root.see this photo i.sstatic.net/FLvia.png
    – ama coder
    Commented Sep 16, 2021 at 9:20

1 Answer 1

1

The photo shows that even /bin/sh isn't found, starting DNS resolution fails, even mounting file systems fail.

As @golimar already said, /obj is not part of any standard Linux installation. It's not part of Ubuntu either. However /bin is, and /bin/sh always exists unless you delete it. To me it looks like you've actually deleted one or more standard Linux root directories. The most sensible way forward is to just create a new VM.

2
  • thanks. i can recover my files?
    – ama coder
    Commented Sep 16, 2021 at 10:30
  • I forgot now! I also deleted the bin directory by mistake. I had a makefile that had a clean function and inside it it deleted the contents of two different directory that were in my project. One of them was the directory It was bin! And I first put the address of an extra '/'πŸ™ˆπŸ™ˆπŸ™ˆ. Now I understand that the problem was with the latter, which was the bin directory. Thanks @ Peregrino69
    – ama coder
    Commented Sep 16, 2021 at 10:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .