Screwed up server
Long story short, I ran the following commands and screwed up the server.
mkdir /home/local (create /home/local folder)
cd /usr/local (go to /usr/local folder)
mv cpanel /home/local (move the cpanel folder under /usr/local to /home/local)
What can I do to reverse this? Have tried everything in my limited scope of knowledge. All sites are down.
-
mkdir /home/local
cd /usr/local
mv cpanel /home/local0 -
Hey there! You should be able to place the files back in their original location with the following command:
mv /home/local/cpanel/* /usr/local/cpanel
I would expect that to work based on the commands you've provided.
Can you try that and then we can go from there?
0
Please sign in to leave a comment.
Comments
2 comments