0

Basic Commans are not working

Hello there, i have accidently executed a command (ls -la | bash) on to my Linux server from my bin directory (/bin) path, and i screwed up everything that now basic commands are not working on my linux server like vim, ssh, ping and etc. When i run a command it' s simply returned to my shell prompt and did not given any output, when i try to install the package for that specific command it' s shows that the package is already installed, and i am sure the command binary is still there and not removed you can refer this in below snap

new snap

is there any way to retrive my commands back?

raven
asked Dec 28, 2017
1 Answer
0

It's seems like you have crashed your hole commands binary inside /bin so that the commands inside that binary are went not working. If you want all your commands back to work means you have to reinstall the packages for all commands that are went crashed, but we suggest you better reinstall your operating system. If you want to make a single command working for example rpm use below command to reinstall the package.

yum reinstall rpm -y
View More
parthiban
answered Dec 29, 2017
Your Answer
||||
x
 
100:0