Just solve the same problem for myself.
When no command seems to work, it's still possible to change PATH. So:
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
> 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.
> KSH SHRM
> People don't care how much you know, until they know how much you care...
> ubuntu-users mailing list
> Modify settings or unsubscribe at:
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.
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users