1

I have done the typical newbie error and have moved important bash folders by mistake using the command;

sudo mv /* ../../../../../programmingajax.com/

This has then gone and moved lots of important files and folders resulting in me not being able to use the command line properly.

However reading around the internet I found this which explains that I should use busybox to use commands such as mv.

So I ran this command to move all the folders back to there original location;

../../../../../programmingajax.com/bin/busybox mv ../../../../../programmingajax.com/* /

After doing that it now tells me that I cannot move (rename) these files as I do not have permission.

So I read here that I can use su

So I ran the command to try and move the folders back this time using su;

../../../../../programmingajax.com/bin/busybox su ../../../../../programmingajax.com/bin/busybox mv ../../../../../programmingajax.com/* /

But I get the error su: must be suid to work properly

Is there a way I can rectify this?

mp252
  • 151

0 Answers0