I want to be able to type commands on my Mac terminal.

Asked 1 years ago, Updated 1 years ago, 98 views

I am currently learning Python.
While learning Python notation on Mac Terminal, I accidentally operated it and entered the mode as shown in the image.(I don't remember what I did...)
Once I close the terminal and start it up, the same screen appears, and I am having trouble typing the command.If you know the solution, could you please let me know?

Enter a description of the image here

macos bash

2022-09-30 21:42

2 Answers

Something started immediately after starting the terminal, and it looks like it can't come back.For the time being, Ctrl+C will solve this problem.

There is probably a command in the file where Bash reads when it starts, such as ~/.bash_profile, ~/.bashrc, ~/.profile, and it does not stop.Check these files in an external editor and make sure that Bash boots properly after commenting out with #.


2022-09-30 21:42

Exit the Terminal Application (Command+Q) or Restart the PC


2022-09-30 21:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.