![]() |
Terminal window has changed ????? URGENT
HI there!
This could be a very stupid question... Please don't laugh at me! Usually, when I opened Terminal, a window opened with some text like (I don't remember exactly) ssh#2... or/and You have mail... or/and My web address... etc, etc... I used to enter sudo su I was then asked for my password which I entered and then I was able to enter commands. Now, a window opens with only the cursor and when I enter a command, nothing happens !!!!! How can I be back to the window I used to work with? Thanks in advance for your help" Gerard PS : I didn't change anything in Terminal Preferences |
See the Terminal problems section of this Unix FAQ
|
Do you have a process running in the shell? Open up a new terminal window and what happens?
|
Quote:
Thanks for replying! |
Quote:
When I enter a command (for example sudo su) nothing happens, nothing at all. This wasn't the case "before" as I explained in my first post. If I open a new window, it is blank with only the cursor blinking. Thanks for your interest! |
OK, just for grins have you logged in/out or restarted your computer lately? I am thinking some process is running in the shell, but that is just a guess.
You aren't bound to a directory server or anything are you? This is your stand alone machine? |
Quote:
Everything is A-Okay. But, as I am a newbie in Terminal I wish to learn. How can you explain this sudden change of Terminal Window I experienced? I'm working on a standalone machine (most recent Mac mini running 10.5.7) on which I operate my own website. It will be great if you could give me some ways to explore to finf out what could have happenned... Many thanks for your help! |
Quote:
|
Quote:
|
Corrupted preferences happen in OS X and it is part of the standard troubleshooting method when dealing with OS X.
How did it become corrupted? That is hard to tell and you may never know. I think it is best practice at times to not spend time and energy on why it happened rather than fix it and move on. Though the why is definitely important at times if it reoccurs. Just remember to ALWAYS back up your data. |
Thank you my friends for your help!
Don't worry: I am a backup maniac. :-) I wish you a wonderful day. Cheers! |
Quote:
Hey Hayne, we're neighbors. I didn't noticed that... |
Quote:
I was thinking at first that something he was using in bash altered his one of his dot files, but if it got fixed by deleting the plist, definitely not. Weird; the worst part is that now that it's fixed, there's no easy way to find out what went wrong - and thus doesn't know what behavior to avoid. Oh well. |
Here's one for you. I set up an automator action using a shell script from here to auto download the latest Chromium build. It worked fine the first time, but the second time I used it I got this:
Last login: Mon Jun 8 22:48:33 on ttys000The terminal just locks at this point and I cannot break whatever process is going on. Every time I open terminal it's like this. I've sent a hard reset, I've rebooted, I've tossed out the preferences, I've checked the dot files and the other stuff the terminal problems part of the faq suggests (as far as I can tell). Does anyone have any idea how I can get out of this? |
Quote:
Start by opening Terminal and typing the following: Code:
cat ~/.bash_profile | pbcopyReturn to this forum, press reply and paste what you've got into the text field. |
I'd recommend running the following AppleScript in "Script Editor" - it will move all of your "dot" files to a new folder named "OldDotFiles":
Code:
do shell script "mkdir -p ~/OldDotFiles; mv ~/.??* ~/OldDotFiles"If so, the problem is in one of your dot files. You can move your dot files back by running the following AppleScript in "Script Editor": Code:
do shell script "mv ~/OldDotFiles/.??* ~"Notes: the above move any files/folders whose names start with a dot and have at least 2 characters after the dot. But some of the dot files/folder might not move due to permissions - you will see an error message about them if this is the case. |
.
. . . . Post content cleared. kzzaaa's description of his problem isn't accurate; nothing in my original post applied to the actual problem. |
Quote:
|
@ hayne & _lowell,
Apparently kzzaaa did not correctly state his case. This line... Quote:
"Every time I (open terminal and) RUN A PARTICULAR SCRIPT it's like this." See this thread: Terminal fubar'd [as such, it doesn't really fit in this thread.] |
There's no need for resort to single-user mode or even custom Cocoa apps when a simple AppleScript will suffice to do what is wanted (e.g. the one I supplied above).
E.g. an AppleScript to show hidden files in Finder would be: Code:
do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE" |
Quote:
So it's like the old "Doctor, it hurts when I do this" joke. |
Quote:
|
Quote:
thanks for the heads up! |
| All times are GMT -5. The time now is 10:17 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.