LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2013, 11:34 AM   #1
mahbabu999
LQ Newbie
 
Registered: Sep 2012
Posts: 15

Rep: Reputation: Disabled
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.
 
Old 01-29-2013, 12:05 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,150

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
You might want to move that back before you log out.
 
Old 01-29-2013, 12:36 PM   #3
mahbabu999
LQ Newbie
 
Registered: Sep 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-29-2013, 01:51 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,150

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
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 "."
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Confessions of a Real-World Linux Admin: "I Always Login As Root." LXer Syndicated Linux News 0 08-11-2006 05:21 AM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 10:47 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
"dig command" result in depth blackzone Linux - Networking 1 07-05-2004 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration