Unlink the symbolic link problem
Hi
I created the symbolic link while configuring the kernel
ln -s /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/ /usr/src/linux
The problem is that the /usr/src/linux directory was already there so when I do
[root@work2]cd /usr/src/linux
[root@work2]ls
[root@work2]linux-2.6.9 (I expect the content of linux-2.6.9 here )
If I want to unlink it
[root@work2]unlink /usr/src/linux
unlink:cannot unlink '/usr/src/linux: is a directory
If I try
[root@work2]unlink /usr/src/linux/linux-2.6.9
unlink:cannot unlink '/usr/src/linux/linux-2.6.9: not a directory
Can anyone tell me how to remove the symbolic link?
Anh
|