Re: bash.bashrc profile file editing problem
Most likely your path variables have been messed up, you can try asking your terminal
if it doesnt look like this:
Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
you will need to replace them using
Code:
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
FYI to the poster above, i think the op is talking about the bash.bashrc file in /etc/ which requires root permissions to edit, not the user ~.bashrc file, either way he wouldn't need root permissions to edit it.
However, none of that will work as your paths are broken :S ->
If you just want to edit your bash.bashrc (as you are already logged in as root) you can use
Code:
nano /etc/bash.bashrc
If you found the solution to your problem, or not - please come back and tell us. If it worked, mark the thread as solved, if it didn't ask for further help. A thankyou never hurts, too! A question is the beginning of knowledge.
Bookmarks