Can't type in Terminal

Joined
May 19, 2013
Messages
1
Reaction score
0
Points
1
Ok. Here's the full problem. Do you have any suggestions?

When I tried to do a sudo command, Terminal asked for my password. I was confused about it not showing what I was typing. (Now, I know now that it was typing my password, just with an invisibility cloak.) I'm not sure what exactly i did but i got frustrated and closed the window. Since I restarted terminal (and my computer) i haven't been able to type in it at all.

I was able to run a simple command in Terminal from textwrangler, but it logs out when it finished running it. This is what it showed:

Last login: Sat May 18 18:46:41 on ttys000
/var/folders/Il/IlsW9YeOHXqHfX6wKgej8++++TI/-Tmp-/Cleanup\ At\ Startup/firstprog-390661984.204.py.command ; exit;
Users-MacBook-Pro:~ User$ /var/folders/Il/IlsW9YeOHXqHfX6wKgej8++++TI/-Tmp-/Cleanup\ At\ Startup/firstprog-390661984.204.py.command ; exit;
Hello World
logout

[Process completed]

I've checked some webforums and nothing has worked so far. In the com.apple.Terminal.plist file in Library/Preferences:
<key>CommandString</key>
<string></string>

There's also a <key>shellExitAction</key> command that I thought about deleting, but I was worried that would make things worse.

Any ideas or suggestions?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
That's normal behaviour given what command was executed. As you can see, at the very end is an "exit" which exited the bash shell in Terminal.

If you want to execute commands, open up a separate Terminal window.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top