Hi,

Am 18.08.21 um 18:51 schrieb A Ozbay:
> Curiously though, when I do try to unlink /usr/local/bin, I can no longer use 
> even simple commands like ls or cd.

Yeah, interesting.

I could understand ls somehow (though /usr/local/bin should be in $PATH
so it should work...) but cd is a shell builtin...:

rene@frodo:~$ type cd
cd is a shell builtin
rene@frodo:~$ type ls
ls is aliased to `ls --color=auto'
rene@frodo:~$ command -v ls
alias ls='ls --color=auto'

No command at all involved for cd.


Note that with usrmerge ls etc *are* in /usr/bin, which you broke..

rene@frodo:~$ which ls
/usr/bin/ls

rene@frodo:~$ ls -l /  | grep bin
lrwxrwxrwx   1 root   root        7 Dec 28  2020 bin -> usr/bin
lrwxrwxrwx   1 root   root        8 Dec 28  2020 sbin -> usr/sbin


I'd say: do a clean reinstall and don't break the filesystem :)

(and make the broken program you mentioned run in a sane way.)


Regards,


Rene

Reply via email to