LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   need the result to execute the command "mv /root /home/admin/" (https://www.linuxquestions.org/questions/linux-server-73/need-the-result-to-execute-the-command-mv-root-home-admin-4175447710/)

mahbabu999 01-29-2013 11:34 AM

need the result to execute the command "mv /root /home/admin/"
 
Hi,

Unfortunately i have executed the
cmd "mv /root /home/admin/" in the prod server is there any effects for the server?

With Regards,
Mahesh Babu.

smallpond 01-29-2013 12:05 PM

You might want to move that back before you log out.

mahbabu999 01-29-2013 12:36 PM

Yes, i moved but after relogin the prompt is different it is showing "bash2.3$" earlier it was showing "root@hostname$" .now am not getting this

smallpond 01-29-2013 01:51 PM

Instead of doing:
Code:

mv /home/admin/root /root
you tried to recover by doing:
Code:

mkdir /root
cp /home/admin/root/* /root

this left behind all the files that start with "."


All times are GMT -5. The time now is 04:23 AM.