Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

Moved 'root' folder by accident

Hi,

I moved my root directory by accident (woops), so I copied it back to the original location.  I am just worried I am going to get some nasty error when I start up next time and have to go through some horrible rebuild process.

Here are the commands I performed in order:

mv ~ pstfix    -(woops got it the wrong way round and forgot I was logged in as root, can you tell i am new to Linux?)
cp pstfix ~     -(this command wouldn't work, said something about "Ommitting directory" so I tried the following...)
cp -r pstfix root

Now the pstfix and root directories exist and are both the right size.  Will everything be ok the next time I log on as root? or should I start frantically backing up all my work?

Thanks.
0
garry_m
Asked:
garry_m
  • 2
1 Solution
 
troopernCommented:
If by ~ you mean /root and "root" also is /root then everything should be OK.
As long as the content of the dir is the content of the former /root dir everything should be OK.
0
 
garry_mAuthor Commented:
Yep, everything works fine, thanks!
0
 
troopernCommented:
Cheers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now