I stupidly used my terminal to create a symbolic link typing this:
sudo ln -s /bin/tcsh tcsh
And now I need to delete it. I tried
sudo rm tcsh
but when I authenticate it tells me:
override rwxr-xr-x root/wheel restricted,compressed for tcsh?
and even if I type y and press enter it tells me:
rm: tcsh: Operation not permitted.
Is there anything I can do to fix this?
sudo rm tcsh
command? What was the current directory when you executedsudo ln -s /bin/tcsh tcsh
? – techraf Dec 22 '16 at 2:15sudo find / -name tcsh -type l 2> /dev/null
– techraf Dec 22 '16 at 2:44