Thursday, June 16, 2016

linux - I just did a chmod -x chmod



So I did a chmod -x chmod. How I can fix this problem? How do I give execute rights back to chmod?


Answer



In Linux:



/lib/ld-linux.so.2 /bin/chmod +x /bin/chmod



http://www.slideshare.net/cog/chmod-x-chmod


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...