Thursday 12 October 2017

linux - Debian : -bash: ls: command not found

I have a vm to play with linux and wanted to try rbash. I followed a tutorial to make it work. Then I wanted to remove the stuff i've done, and delete a symlink from /bin/ls to /etc/skel/. But instead of using unlink command, I use rm -r on /etc/skel/ls and deleted the binary Ls from /bin/ folder (literaly).


Now I've got -bash: ls: command not found when I want to use ls command. Is there a way to reinstall this default command ? To download the bin ?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...