unlink a directory

Darrel levitch at iglou.com
Thu Nov 28 09:04:49 UTC 2013


I can not recall how to unlink a directory.  Installed a FreeBSD10 system 
from memory and when making the kernel link went to /root/kernels and 
linked rather than /usr/src/sys/amd64.

Now I have this:

(120) @ 4:01:40> ls -L conf
conf
(121) @ 4:01:43> ls -P conf
conf
(122) @ 4:01:56> ll conf
lrwxr-xr-x  1 root  wheel    24B Nov 24 22:57 conf@ -> 
/usr/src/sys/amd64/conf/
(123) @ 4:02:09> pwd
/usr/src/sys/amd64
(124) @ 4:04:22> cd conf
conf: Too many levels of symbolic links.

Darrel


More information about the freebsd-questions mailing list