Ubuntu 18.04 terminal is not responding

When I open gnome-terminal, I see no command prompt. Pressing any button does not help. What can I do to fix my terminal?

screen photo

5

1 Answer

Under these circumnstances to be able to edit the .bashrc:

  1. Go to the terminal and go to Edit/Preferences/Commands:

    Tick these 2 :

    • Run command as a login shell
    • Run a custom command instead of my shell
      • Custom command: /bin/dash
  2. Close and open a new tab in the terminal, you should have a $ and be able to run some basic commands

  3. Now you can edit your .bashrc file (in your home directory), copy the content to .bashrc_bad and then preferably delete everything inside .bashrc
  4. Save it and run bash to see if it crashes again

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like