Crash
10-11-2001, 04:56 AM
Hi,
Does anyone know the telnet comand to remove a link on a Redhat Linux server?
I linked a directory to a another directory... the wrong directory and I can't figure out how to remove it.
Thanks!
-CP
Crash
10-11-2001, 01:24 PM
I tried the rm command on the emtpy directory that I linked (aliased) to the working directory. After using the command it said the directory is not empty. So I'm trying to figure out how to remove the link first?
Thanks
-CP
Crash
10-11-2001, 01:39 PM
I'm trying to remove a link, not make one.
mithilesh
10-11-2001, 01:48 PM
you should go to the parent directory of the symbolic link after then use command
#rm -i <link name>
Crash
10-11-2001, 07:52 PM
Thanks Eric that did the trick!
Ok... now maybe you can help link the directory properly?
I want to create a directory named "web" and link it to my htdocs directory. I have a client that uses /web when ftping into his website. I have switched from a Coblat raQ to a Linux server running Redhat 7x. The client is a bit of a tool and can't figure out how to change his ftp settings... don't ask :eek:
Thanks again for all your suggestions!
-CP
ffeingol
10-11-2001, 08:59 PM
This should do the trick for you:
ln -s /path/to/htdocs /web
You will prob. want to cd into the users home directory and issue that command. Then when they ftp in, their will be a web directory in their home directory.
Frank