LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-21-2002, 05:39 PM   #1
echid
LQ Newbie
 
Registered: May 2002
Posts: 11

Rep: Reputation: 0
Exclamation Major Problem -- Any help appreciated!


Being the newbie that I am....

I was going to create a soft link....

and I executed the following command as root in the / directory

mv * /usr/www/html


I can still cd into all the directories of / that are now in /usr/www/html however I can't mv anything back as the mv command is now gone. I would have thought it would not be in /usr/www/html/bin but alas.... not.

Any help would be appreciated, although I am beginning to think a reinstall is in order.

Cheers.
 
Old 10-21-2002, 08:08 PM   #2
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
it might be in /usr/www/html/usr/bin or /usr/www/html/usr/local/bin

try "whereis mv"

you will need to edit your $PATH so that bash looks for your executables in the correct place. In ~/.bash_profile , ~/.bashrc or /etc/bashrc (I guess that's /usr/www/html/etc/bashrc)

you will also need to edit /etc/ld.so.conf (/usr/www/html/etc/ld.so.conf) and put the correct paths to your libraries (just put /usr/www/html in front of all of them)

I really don't think it was a good Idea to do all of that though. First of all, you now have two copies of everything that was in /usr... you have the same /usr and also have /usr/www/html/usr . Why did you do this?

ooh well, I hope this helps you out

good luck

-Adam
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mandrake 9.1 - a major cock up - idea's appreciated. bigjohn Mandriva 3 03-17-2004 02:06 PM
MSN 6, links or tips greatly appreciated!!audio chat NATting problem pr0fess0r Linux - Security 1 01-26-2004 12:14 PM
Please Help Me!! Major Problem!! cbe_7093 Linux - Hardware 1 11-14-2003 02:45 PM
LDAP problem - any help appreciated! don_dimo Linux - Networking 2 11-01-2003 11:21 AM
Major Problem! Ghettozn Linux - Newbie 7 07-22-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:29 AM.

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