I deleted "
chmod" by mistake using "
sudo rm chmod".
What is the way to recover the
Is it 'a no way to do it' operation?
I'm using Mac OS X Yosemite.
This question probably has all the answers for you. In short there is no easy way. Your options are:
- Recover the files from a (Time machin) Backup, if existent.
- Reinstall OSX, e.g. from the Recovery mode pressing Command+R at the startup screen
- Copy the missing files from the Recovery partition (check if the partition is up to date first). E.g. by doing
cp -a /bin /Volumes/<your disk name>