Re: removing a soft link on UNIX

by Ron Hall <thorn(at)cc.mcgill.ca>

 Date:  Thu, 16 Jan 2003 13:59:47 -0500 (EST)
 To:  Keith D Sellars <Keith(at)WebGraffix.com>
 Cc:  HWG Servers <hwg-servers(at)hwg.org>
 In-Reply-To:  S0026260871
todo: View Thread, Original
 

==>I have some web sites hosted on a UNIX server.  I have created several
==>softlinks from one directory on the server to another directory (using the
==>ln command from the command line).  I need to remove the link now, but
==>cannot find documentation on how to do so.  I am sure there is documentation
==>available, but the search engine results are not at all a help.
==>
==>What is the proper way to do this?

	rm name_of_softlink

	For the truly parnoid

	ls -l name_of_softlink
	(look and see it truly is - the first field will look like
         lrwxrwxrwx)
	then type
	rm -i name_of_softlink
	(This will ask you if you really want to remove it)

	for those who don't care then the following will override
	and precautions that might be there...

	\rm name_of_softlink

	Remember everything is a file or a directory in *NIX
	so rm is the way to go....


	HTH

	As Always

	r