How to restore "bashrc" file.

xuanwu xuanwu at indiana.edu
Thu Dec 25 07:07:06 UTC 2008


Just solve the same problem for myself.
When no command seems to work, it's still possible to change PATH. So:
#PATH=/usr/bin:/usr/local/bin

and then of course vi works, and can change whatever again.


ksh shrm wrote:
> 
> I was experimenting with bashrc and I didn't made any backup of this file.
> 
> Unluckily, i made some changes that are creating trouble when i start
> terminal.
> like "A is not a command" or something like that.
> 
> I don't know how to use vi editor.
> If there is anyway to get a default bashrc file, please tell me.
> 
> 
> -- 
> adios
> 
> KSH SHRM
> 
> People don't care how much you know, until they know how much you care...
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-restore-%22bashrc%22-file.-tp20315831p21165872.html
Sent from the ubuntu-users mailing list archive at Nabble.com.





More information about the ubuntu-users mailing list