Wednesday, December 1, 2010

Recovering accidentaly removed PATH environment variable in ubuntu

By using following instructions you can overcome if you accidentally removed PATH environment variable from /etc/bash.bashrc file

first step:

Open a terminal and type following command

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

second step:

Remove accidentally added thing from the bash.bashrc file.

No comments:

Post a Comment