3

I have the new Ubuntu 19.04, I tried writing some alias and it's my first time however the aliases did not work so i cleared them, I think in the process I might have tempered with the .bashrc file, so on trying my terminal after that point it comes up and goes off, in a couple of milliseconds, downloaded powershell and works fine however I'm not comfortable with it. Any way to fix the terminal without having to reinstall the OS?

I've tried Resetting the .bashrc file and did not solve the issue, also tried purging gnome-terminal and updating gnome, still no changes to the terminal however I noticed some good changes in my OS,

Tried typing gnome-terminal in xterm interface and got the following message

Image here

9
  • Apparently the error isn't from the .bashrc file, restored the default one following @byte-commander 's answer. Still the terminal does not respond
    – Emmanuel
    Commented Aug 18, 2019 at 8:58
  • Thanks @starkus Done all these as you suggest however still does not work
    – Emmanuel
    Commented Aug 18, 2019 at 9:58
  • Thanks, Still does not work, I'll resolve to reinstalling my OS
    – Emmanuel
    Commented Aug 18, 2019 at 10:36
  • Oh, any useful step by step article to achieve this?
    – Emmanuel
    Commented Aug 18, 2019 at 10:49
  • @none Can you still open xterm (different, more basic terminal emulator)? If so, try typing gnome-terminal in there to see if you get any diagnostic output.
    – Byte Commander
    Commented Aug 18, 2019 at 10:50

2 Answers 2

3

To revert any modifications you might have done to your .bashrc file, just delete it and replace it with a fresh copy of the default /etc/skel/.bashrc.

1
  • Thanks! Done that and managed to save the new .bashrc file however my terminal still does not respond, I might have missed the error! Any other possible cause to this?
    – Emmanuel
    Commented Aug 18, 2019 at 1:10
1

I saw a complaint about Chrome Remote Desktop settings some odd values, and causing "terminal" to fail.

The cure there was

gnome-shell --replace

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .