None of my bash commands work

Posted by Kevin on Server Fault See other posts from Server Fault or by Kevin
Published on 2010-04-27T02:16:16Z Indexed on 2010/04/27 2:23 UTC
Read the original article Hit count: 381

Filed under:
|
|

I have an Ubuntu 9.10 netbook. I has always run great. Two days ago, I was running as root for a while (~30), and when I moved back to my user account (only other account one this machine), all the commands in ~/bin stopped working. If I try ls, it comes up with "cannot execute binary file". Same with ln, mv, mkdir, clear, cp, etc. They all run as root(which makes sense, different files), but I have no idea why this happened. I don't want to stay as root to move around easily. Any idea?

© Server Fault or respective owner

None of my bash commands work

Posted by Kevin on Super User See other posts from Super User or by Kevin
Published on 2010-04-27T02:16:16Z Indexed on 2010/04/27 4:23 UTC
Read the original article Hit count: 381

Filed under:
|
|

I have an Ubuntu 9.10 netbook. I has always run great. Two days ago, I was running as root for a while (~30), and when I moved back to my user account (only other account one this machine), all the commands in ~/bin stopped working. If I try ls, it comes up with "cannot execute binary file". Same with ln, mv, mkdir, clear, cp, etc. They all run as root(which makes sense, different files), but I have no idea why this happened. I don't want to stay as root to move around easily. Any idea?

© Super User or respective owner

Related posts about bash

Related posts about terminal