When I open terminal It issues /bin/bash; exit automatically

When I open up a terminal window it issues an extra command
/bin/bash; exit
If I open up window settings and look at processes I can see that I have two bash shells running. This extra bash shell overwrites my aliases I have
set up in my .profile file.
I have looked and looked for an answer and I cannot seem to find one. I did not have this issue a few days ago. (I admit I have been doing some odd tweaks recently but I do not know how this happened).
If I log in as another user on my system I do not have this extra bash shell. So whatever it is it seems to be linked to my account.
Any help would be greatly appreciated.

That was it. Just to detail what I did
I went into
patman/Library/Preferences/
and removed com.apple.Terminal.plist
I did look at the original and found a field
ExecutionString that had the command in it!
I decided not to mess with it and just deleted the entire
file. Terminal recreated it when I started terminal again.
Thanks a bunch this was driving me nuts for the
past day.

Similar Messages

  • My iPod(4g) is slow and when i open a app, after few minutes it automatically closes and also takes about 4 minutes to enter settings app.

    My iPod(4g) is slow and when i open a app, after few minutes it automatically closes

    Sounds like a software issue. Back-up the iPod to a computer and then restore the software via iTunes and set it up as a new device. If it is working fine then restore your backup to the device. If it is still playing up before you put your information back on then it is most likely a faulty device, and would need a service.

  • Chat - with google/yahoo webmail - when i opened in the firefox earlier version, it automatically loads the webchat on the side bar(gmail) or there is a smiley face next to username (yahoo) but with Firefox4 - i dont seem to get the chat working.

    chat - with google/yahoo webmail - when i opened in the firefox earlier version, it automatically loads the webchat on the side bar(gmail) or there is a smiley face next to username (yahoo) but with Firefox4 - i dont seem to get the chat working.

    uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
    ... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
    so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert

  • When I open a new website, the page does not open, instead it places a tab in the bottom task bar? How can I change the settings so as when I open a new website the page is automatically displayed on my desktop. Thank You!

    When I open a new website, the page does not open, instead it places a tab in the bottom task bar? How can I change the settings so as when I open a new website the page is automatically displayed on my desktop. Thank You!

    Tools > Options > Tabs - is the last preference there check-marked??

  • When i open terminal i get (login(1685,0x7fff73770960) malloc: *** error for object 0x106d2c4d0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug  [Process completed])

    so all of a suddun i open terminal and i get
    login(1685,0x7fff73770960) malloc: *** error for object 0x106d2c4d0: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    [Process completed]
    in the terminal window any help?

    Launch the Console application by entering the first few letters of its name into a Spotlight search, and look under "User Diagnostic Reports" for crash logs related to "login." Select the most recent one and post the contents -- the text, please, not a screenshot.

  • When I open my macbook pro it's not automatically connected to the wifi at home

    Hello,
    When I open my mac it's just usally is connected to the wifi itself but now I keep getting that I now have to wait 10 seconds or longer after opening my mac to have my mac connected to the wifi ! Has it something to do with Mavericks ?
    Kind regards

    Some users have reported solving this problem by resetting the NVRAM (PRAM.)
    If you've installed something called "iCleanMemory," or any other third-party software that is supposed to "clean" or "free up" memory, remove it according to the developer's instructions after backing up all data. Reboot and test. If there's no change, continue.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • When I open to my desktop, my Windows Excell automatically opens, how can I stop that? I just want my desktop.

    Every time I open my desk top my Windows Excell automatically opens.  How do I stop that?  I just want my desktop to open.
    Thanks,  Jamie

    Look in System Preferences - Users & Groups - Highlight your user Account - Login Items - and then if you see Excel in the list then select it and click the - symbol in the box to remove it. Log out of your account and login to test.

  • Is it possible to have the Navigation Toolbar (or at least the pop-up Location Bar) show automatically when I open a (blank) new tab and be automatically hidden once I select an address/search?

    I'm obviously aware of the possibility to show/hide the Navitation Toolbar manually, but I'd like to have it done automatically to get the best of screen space and navigation ease.

    Thanks cor-el! I had tried that out, but was turned off by the different workflow (can't click Tab to select the address suggestions) and assumed by the look that I couldn't use my Smart Keywords for searches.
    In fact, the workflow isn't that much bulkier and the Location Bar is fully functional:
    * ''for a search: Ctrl+L, (Smart Keyword +) [search terms], Enter''
    * ''for a suggested address: Ctrl+L, Down, Enter, Enter''
    Still, it would be nice in future versions if:
    # the Location Bar could automatically open when opening a (blank) new tab (just as the cursor automatically goes to the Location Bar when a new tab is opened with the Navigation Toolbar showing) to avoid the Ctrl+L step of the workflow
    # the Tab, Enter workflow could be enabled for selecting address suggestions in the pop-up Location Bar
    Or (most simply in my mind):
    if '''the Navigation Toolbar could be set to show when a (blank) new tab is opened and disappear once an address/search is selected'''.

  • I get error when I run Terminal /bin/bash: Please run this as root.

    Help!
    Every time I open Terminal I get:
    /bin/bash: Please run this as root.
    [Process completed]
    Any suggestions?

    FLYFI5H wrote:
    Help!
    Every time I open Terminal I get:
    /bin/bash: Please run this as root.
    [Process completed]
    Any suggestions?
    I wonder if there's a permissions problem with your /bin/bash. If you go to the /bin directory (presumably with the Finder's Go -> Go to Folder command, as Terminal isn't working for you), then do a "Get Info" on bash, what do you see as the permissions? Mine shows "system: Read & Write", "wheel: Read only", and "everyone: Read only".
    If you can't run Terminal, your diagnostic options may be limited. Do you have a second Mac that you could use to investigate the problem with this Mac in "target disk mode"?

  • Gnome-open starts /bin/bash -ic (uname) and uses 100% CPU to open gvim

    I've posted this on stackoverflow and got no answer, hopefully some archers can help me out:
    When I execute
    gnome-open textfile
    I expect gvim to open up. Instead what happens is that the command hangs. When I check htop I see:
    /bin/bash -ic (uname) > /tmp/{some random string of characters}
    using 100% of the CPU. When I kill the process (and I have to use -9), then cpu usage goes back to normal and gvim opens.
    Running
    gvim -f textfile
    without gnome-open works perfectly.
    Any ideas where this process is coming from? Or what it's even doing?
    /bin/bash -ic (uname)
    doesn't even run for me.
    Thank you!

    I've posted this on stackoverflow and got no answer, hopefully some archers can help me out:
    When I execute
    gnome-open textfile
    I expect gvim to open up. Instead what happens is that the command hangs. When I check htop I see:
    /bin/bash -ic (uname) > /tmp/{some random string of characters}
    using 100% of the CPU. When I kill the process (and I have to use -9), then cpu usage goes back to normal and gvim opens.
    Running
    gvim -f textfile
    without gnome-open works perfectly.
    Any ideas where this process is coming from? Or what it's even doing?
    /bin/bash -ic (uname)
    doesn't even run for me.
    Thank you!

  • Authentication error with shell=/usr/bin/bash

    Hello there,
    I'm comfortable with linux, but new with Arch Linux. Recently I completed an installation with success but I ran into a strange authentication error at login.
    Before adding a user I verified the path of the bash shell and 'which bash' returned /usr/bin/bash.
    So I added a user with shell /usr/bin/bash and the line in /etc/passwd reads similar to:
    newuser:x:1000:100:His name:/home/newuser:/usr/bin/bash
    With this line I get an authentication error from login
    And when I change the shell to /bin/bash, the user is able to login with success.
    I have found similar problem reports, but not this solution.
    I hope to get some help with understanding this issue, to me it seems wrong to point the shell in /etc/passwd to a symbolic link.

    Thank you very much, falconindy.
    My first reaction is "But what if /usr becomes inaccessible", also /bin/sh is a symlink.
    But I guess with rescue options from initramfs or live CD/usb, this is not a big issue anymore.
    I have added /usr/bin/bash to /etc/shells.
    Last edited by wilbert-vb (2013-05-18 12:55:45)

  • Opening terminal with applescript - changes default input language....

    When I try to use Applescript to open terminal, it opens it but changes the input language to Japanese, so anything that I attempt to feed into terminal via applescript turns into nonsense Japanese. (The default language is English and kotoeri is set to romaji/roman alphabet by default)
    How do i stop this?
    Thanks

    Since my snow leopard MBP can't handle smb mounts, I've resorted to using sharity, except that its gui crashes the instant I try to mount a drive. But I can mount samba shares using sharity from the command line. I'd like to have it mount on startup which is supposedly something sharity can accomplish from its gui but since that doesn't work I would like to write an applescript and add it to the login items. I haven't been able mount it using do shell script as the sharity command line, unlike the normal samba mount command) doesn't seem to have an option of entering the password, so the mount fails:
    sharity mount smb://user@address/folder
    I thought if I open terminal via applescipt, then have it 'type' the command followed by a delay, then type the password, I could get around it but when I open terminal in applescipt, it starts in Japanese:
    activate application terminal
    tell application "System Events" to keystroke "sharity mount smb://user@address/folder"
    tell application "System Events" to keystroke return
    delay 2
    tell application "System Events" to keystroke "password"
    delay 2
    tell application "Terminal"
    quit
    end tell
    This almost does what I want it to but the input language has flipped to Japanese and sharityもうんtsmb://Sトラゲ-0165/けいthぱっすぉrd
    is the result
    Basically its all because of the samba bug in snow leopard (which I reported to apple and they confirmed its the same issue they know about)

  • When I open firefox, it starts not on my homepage, but on a search page I've never willingly downloaded, and have uninstalled from my computer. Why?

    Today, I've had quite some trouble with my computer. I think it was attacked by something sneaky, but I managed to stop it and fix everything. Everything but this one thing.
    When I open the firefox browser, it does not automatically go to my homepage, despite having followed every instruction for this to happen. Instead, it opens in a search engine called "awesomehp" which I have, previously to this, never heard of, and never installed. WHen I click the "home"-button, it goes to my actual homepage, and everything is ok.
    I have tried to uninstall this...."awesomehp" search engine, but it STILL shows up automatically when I open FireFox. Why? And this is even after I've reset FireFox to its default settings once.
    Why does this happen, and what can I do to fix it?

    Every now and then, you should run these programs<BR><BR>
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Cursor automatically moves to the address bar when I open a new page

    Ever since I installed Firefox 4, when I open a new tab the typing cursor automatically moves to the address bar instead of the search engine bar. I have the tab mix plus addon. A solution appears to have been found for the same problem with the newtabhomepage addon, but since the two are not compatible with each other, I don't want to switch addons. Is there any way I can fix this?
    Thanks!

    If your using the 'New Tab Homepage' extension then this happens when you upgrade to Firefox.
    Open up Firefox and click on Ctrl+Shift+A to bring up the add on/extensions menu. Have a look in the Extensions bit for an Extension that has a version no of 0.4.3. if you have it then it needs uninstalling. Then download the new file from the mediafire link
    http://www.mediafire.com/?v1113g9noytswdv
    You will then be asked if you sure you want to install it and drag it on to the extensions page in Firefox.
    Once installed restart Firefox. Once restarted your homepage will load whenever you start a new tab.

  • Why Firefox 4 automaticaly zoom in, when I open something on new tab?

    I have windows 7 and newest version of firefox 4. Everytime, when I open som link in new tab, firefox automatically zoom-in. I have to keep using zoom-out with my mouse scroll and it is quite annoying. I havent got any zoom problems with firefox 3.

    Aaaah, finally solved. Yes I have McAfee site advisor. I figured out that I dont have to disable site advisor as stated in the link you posted, but only '''enable Add-on Bar (View-Toolbars-Show Add-on Bar)'''. After that, no zooming occured. On the Add-on Bar are icons of McAfee though, so maybe McAfee was causing the problems somehow. It doesnt matter because it works now. Thank you Xircal, without your help, I would definatelly take some other web browser :)

Maybe you are looking for

  • A copy has been placed in your outbox. sending the message content to the server failed

    all of the sudden my phone wont send emial but will receive them. I have tried everything suggested as far as turn on/off, delete acct and set it up again and nothing seems to be working. Can someone help me please?? the error message i receive is "a

  • Nokia 5630 XM Maps Updater Error Cannot get enough...

    Hi experts, I have unsolved problem until now. I have Nokia 5630 (buy in Czech Republic), I updated to lastest firmware 012.020 and after that I can´t connected with Nokia maps updater (it shows the announcement like topic - see attached file). I try

  • To find Function Code in BDC

    Hi, I am creating a BDC program for transaction FB09.... How can I identify the function code for a BUTTON? And also, how can I know the function key number for the button?

  • "The folder "iTunes" is on a locked disk or you do not have write permissio

    "The folder "iTunes" is on a locked disk or you do not have write permissions for this folder." Thats the error I have been getting recently. So I go on my pc after like 3 days of not using it, and all of a sudden I am getting the error in my title w

  • CS3 Deployment issues

    I have some issues with an enterprise deployment of CS3. All computers are XP Pro. All computers have Acrobat Reader 7 on the base image. We have 3 different installs for CS3: one for InDesign, one for Illustrator, and one for Photoshop. All three in