Originally Posted by acid_kewpie
well the two things don't make any sense as directly related issues, deleting a norml users home directory can not affect root, unless your system is already horrendously ill. You also havne't said anything about how they don't work... error messages etc. The only thing I can directly think of is your PATH statement somehow not existing, which still doesn't match your actions in the slightest.
Thanks for Replying.
Let me try to vividly explain what I did.
I was logged into directory : /home/user
I switched to root, typed this:
linux:/home/user# rm -rf foldername
It seems that the foldername i typed was non existent, the actual name of it was /foldername (Which Still exists btw)
Here's what I get after I run commands (As Root):
for e.g :
If 'ls' is not a typo you can use command-not-found to lookup the package that contains it, like this:
The above applies for all the commands, I run as root now. Ran env, it returns the same message stated above.
That's the usual message that pops up whenever something's not installed, right?
However when I run commands as normal user, they work.
And Yes, I was messing with the path statement, editing the /etc/skel/.bashrc, /home/user/.bashrc, /etc/bash.bashrc. I was just setting new paths for installing a compiler(added line :export PATH:$PATH:$DIRBIN). Nothing else. Now, I undid the changes. The problem persists.
What might be the solution?