Suddenly, when your Seniors Linux Server admin does not come at office. And Then Junior Linux Admin take a charge of it, then it is NIGHTMARE for them. Please help.
I'm not able to recollect, that what I did in
.bashrc file in the server, after re-logging in the server. Not a Single was not working. Commands like
vi was not working on the server. I was Getting Error: "Command not found".
I have manage to fix from below steps:
.bashrcfile in home pasted below text in the file
.bashrcfrom command --> source
~/.bashrc. Comands started working.
But whenever I loggin in the server. I get below error:
Last login: Tue May 14 10:33:46 2013 from 126.96.36.199 /usr/bin/env: bash: Permission denied /usr/bin/env: bash: Permission denied /usr/bin/env: bash: Permission denied /usr/bin/env: bash: Permission denied /usr/bin/env: bash: Permission denied -bash: tar: command not found -bash: grep: command not found -bash: cat: command not found
I have searched in Google, but not getting exact solution.
OS: Ubuntu 10.04.
.bashrc file: http://paste.ubuntu.com/5664287/