I accidentally ran the command
Does anyone know how to recover? I canceled it 2 seconds after i ran it. But some things aren't working..
Im sure there is more things not working.
bash: /bin/ls: No such file or directory
Any help would be appreciated.
Prognosis: Not Good
Many answers here: http://lmgtfy.com/?q=lunix+recover+deleted+files
Unless you have a backup, if you've written data to the disk, you're probably not going to be able to recover the files without some good technical skills (the links above provide a variety of different methods of doing it based on your circumstances).
Your best bet would be to copy off your important stuff to a backup, reinstall the OS and restore the needed files from the backup you just created.
Anything else is risky as you don't have a list of the files that were deleted to know if you've got them all recovered/restored or not. This can result in system instability, possible server security issues and other possibly bad things that come with not knowing for sure if your server is working correctly or not.