Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5325  / 2 Years ago, fri, december 31, 2021, 7:32:53

installed Ubuntu 14.4.0 ll of a sudden all i'm getting when I open my terminal is a blank screen. No directory names or $. So I can't execute any commands to update, install, fix or anything. All the help out I come across assume I can use the command line. . Anyone knows how to fix this? or how maybe how I can recover the default bashrc file (without using the command line)? Is my only option uninstalling and reinstalling Ubuntu?



but when i open gnome-terminal from usr/bin then it works fine ,
plz help me


More From » 14.04

 Answers
7

In Ubuntu, there is a default version of the .bashrc file in the /etc/skel/ directory, so if you have problems with it you can restore it.



To do so follow the next steps:



Backup your current .bashrc file:



cp ~/.bashrc ~/.bashrc.bak



Copy the skeleton .bashrc file over yours:



cp /etc/skel/.bashrc ~/



Afterwards, load the new one:



source ~/.bashrc


[#18391] Friday, December 31, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bearous

Total Points: 226
Total Questions: 116
Total Answers: 136

Location: Guernsey
Member since Sun, Jan 10, 2021
3 Years ago
;