Terminal starts weirdly

Whenever I open Terminal, every window starts with "-bash: 833A1F5CBA14D72384D7DAB85373C5FCFABBDC8A-503D39B8AAD8E953162708A1BDEED2EFC52DD9 43: command not found"
I just want to learn PHP & MySQL, but this makes me worry. What could be wrong????
I'm running Lion 10.7.3 on an iMac with 4Gb RAM.
Any help would be appreciated!
Rick

The "bible" is the bash reference manual.  There are many books on the bash shell language but the one I originally read many yeas ago and liked was the O'Reilly "Learning the bash Shell" (2nd Edition).

Similar Messages

  • Jobs seems to be tied to terminal start

    it seems that every time i open up terminal it starts a exec file. it displays something like this...
    Last login: Wed Jan 31 21:40:27 on ttyp1
    /Applications/CoreDuoTemp.app/Contents/MacOS/CoreDuoTemp; exit
    Welcome to Darwin!
    lamshel:~ ryan$ /Applications/CoreDuoTemp.app/Contents/MacOS/CoreDuoTemp; exit
    at which point i have to hit crtl+z to get it to bring up a prompt. i think i know what i did. i right clicked on the coreduotemp app in the applications folder and chose "show package contents" then i opened the contents folder...the MacOS folder and clicked on the exec file called CoreDuoTemp. i guess it was stupid to do so but i wanted to see what it did. anyways it seems to have somehow been tied to my terminal. it displays the above display until ctrl+z out and use "ps" to grap the id and then kill -9 it. I know this has to do something with me clicking on the exec file because everthing worked perfect before i did so.
    I tired uninstalling the app but this just cause the terminal to report that /Applications/CoreDuoTemp.app/Contents/MacOS/CoreDuoTemp doesn't exist. I would much appreciate it if someone could tell me how to undo this connection to the exec file and my terminal.
    thanks

    Well, now you know what happens.
    Start with Terminal->Terminal Preferences and see what's selected under When creating a new Terminal window and Open a saved .term file when Terminal starts. Also, check Terminal->Window settngs->and go through the various settings.

  • Why is Terminal starting when I restart?

    Why is Terminal starting when I restart?  It is NOT in the startup items in my Users and Groups in System Prefs.  I have checked Termianl to see if I can stop it from loading but there is nothing there to stop it.  Starded doing this suddenly.  I have to restart onve a day to start Windows 7 on a partition and go back and every time I do thatmor any other restart thing, the Termninal opens.  Have I enterned sometning in Terminal that makes it restart?
    Thanks
    C
    Early 2009 iMac 320 4 GB ram

    In Terminal copy & paste this at the prompt...
    defaults write -app 'Terminal' ApplePersistence -bool no
    Press return
    Now reboot.
    The reverse would be "yes".

  • /usr/bin/login Terminal start gives error

    When i try to start up the terminal via standard /usr/bin/login, i get the following error:
    login: PAM Error: Module is unkown
    only been a problem since 10.4.6 update. Already repaired permissions.
    I can change the shell command to bash, and it works. But if i try to run a "sudo" command, i get same PAM Error.
    I'm quite stuck here.
    The other weirdness is that I can't ssh into this machine from anywhere else. All of the system preferences are set correctly.
    Not sure if this is a different problem, or symptom of the same problem.
    Any ideas?
    iMac G4 FP   Mac OS X (10.4.6)  

    The line that you commented out at Gary's suggestion should be commented out. it's just there to remind you of what goes in which column.
    With the line commented out:
    # login: auth account password session
    Are you still getting the error message that you initially were?
    if so, verify the the modules exist.
    they should exist under /usr/lib/pam
    ls -l /usr/lib/pam
    total 280
    -r--r--r-- 1 root wheel 9348 Mar 20 2005 pam_afpmount.so
    -rwxr-xr-x 1 root wheel 8392 Mar 20 2005 pam_deny.so
    -r--r--r-- 1 root wheel 18456 Mar 20 2005 pam_netinfo.so
    -rwxr-xr-x 1 root wheel 8560 Mar 20 2005 pam_nologin.so
    -rwxr-xr-x 1 root wheel 8476 Mar 20 2005 pam_permit.so
    -rwxr-xr-x 1 root wheel 8452 Mar 20 2005 pam_rootok.so
    -rwxr-xr-x 1 root wheel 8748 Mar 20 2005 pam_securetty.so
    -r--r--r-- 1 root wheel 8620 Mar 20 2005 pam_securityserver.so
    -r--r--r-- 1 root wheel 8732 Mar 20 2005 pam_unix.so
    -r--r--r-- 1 root wheel 8492 Mar 20 2005 pam_uwtmp.so
    -rwxr-xr-x 1 root wheel 8900 Mar 20 2005 pam_wheel.so
    some have configuration files. On linux they're stashed under /etc/security. but OS X, seems to want to place them else where. judging from the output of
    strings run again, pam_securetty.so, it's looking for it's configuration file under /etc.
    a tad dated, and it doesn't cover all of the modules that are available, but
    it may give you a better understanding of PAM.
    The Linux-PAM System Administrators' Guide
    Andy

  • Terminal starts the last shell script

    Hello,
    I have problem with Terminal. It should start with normal shell prompt, but in my case it starts with the script I called the last time.
    How it happened: I have created shell script called "logintoserver.sh", there is just "#!/bin/bash; ssh -Y -l someuser someserver". I have a link to this script on my desktop, so I can easily pop up a terminal session to my remote server.
    OK, this works, but when I call application Terminal directly then, from Finder/Applications/Utilities/Terminal, it starts that "logintoserver" script again. Now I cannot get my local shell prompt. I can only follow login script and then ssh to my emac back from that remote server, but it's not that nice, you see...
    I changed shell in Terminal preferences, no help. I believe there is some option "execute last command at the beginning of new session", but I can't find and disable it. When I delete this "logintoserver" script, all works OK. But I like to have one click login window.
    Thanks for any kick,
    David

    Hi Tim,
    thanks for your helpful info. Two questions:
    when I login to my remote server (Tiger Server) via SSH, the command line on my laptop changes to reflect the server name Im logging into.
    1. Laptop named "jimmydeuce" logs into 'margaritaserver' a Tiger Server via SSH
    2. laptop closes SSH session to server
    2. laptop now launches Terminal
    3. laptop now sees prompt line restated as: margaritaserver:~ username$
    how to get back to normal prompt: jimmydeuce:~ username$ ???
    Cheers,
    Chris Chamberlain

  • Terminal problem-weird appearance before name

    When I open Terminal "n014h151" appears before my name
    I never seen tihs before, usually its just Andrew$ or something simular.
    I've been trying to use this comand sudo rm -rf ~/.Trash to empty my trash as i have a file in there about 78GB its my iphoto library and its taking forever to delete. i'm not having much luck. I'm wondering if something is wrong with my computer to have that weird combination of letters and numbers show up before the name.
    Any suggestions and ideas would be apprecated

    The default prompt is
    hostname:current_working_directory username$
    where typically what you initially see for current_working_directory is a tilda ~ which is Unix shorthand for your home directory.
    The thing that confuses most home users is that the bash shell takes the current IP address, does a reverse DNS lookup to get the name associated with that address, and plugs that into the hostname field of the prompt.
    This gives the expected results when there is no outside your Mac DNS name associated with your IP address, as the Mac DNS lookup code will then substitute the System Preferences -> Sharing -> Computer name.
    However, every once in a while, the reverse DNS lookup returns a value, and you get some very strange results for hostname.
    While confusing, sometimes annoying, it is harmless.
    With respect to deleteng files from the trash, if you have a lot of file it can take awhile to delete each file.  If the space used by those files is a lot (and 78GB is a lot) AND you specified "Secure Erase" it can take a very long time to erase the contents of each file, before freeing the storage.
    But having your hostname say n014h151 is harmless.
    If you do not use Terminal all that much, just ignore it.  If you use Terminal enough that this kind of uncertanty bothers you, then you can tell 'bash' to use the prompt you want.
    Try creating, or modify .bash_profile and adding:
    PS1='$(networksetup -getcomputername):\W \u\$ '
    NOTE;  the bash shell uses just one of the following, looking for them in the following order
    .bash_profile
    .bash_login
    .profile
    If and only if one of these files exist.  You would choose to put the PS1 promot into the one that exists, or create a .bash_profile if non-of them exist.

  • Terminal Starts Up With Errors

    When I start Terminal I see:
    Welcome to Darwin!
    export': not a valid identifier
    export': not a valid identifier
    export': not a valid identifier
    export': not a valid identifier
    ': not a valid identifier
    When I look in .profile I see:
    # Your previous .profile (if any) is saved as .profile.dpsaved
    # Setting the path for DarwinPorts.
    export PATH=/sw/bin/sw/sbin/bin/sbin/usr/bin/usr/sbin$PATH
    export CFLAGS=-I/sw/include
    export LDFLAGS=-L/sw/lib
    export CXXFLAGS=$CFLAGS
    export CPPFLAGS=$CXXFLAGS
    export ACLOCAL_FLAGS="-I /sw/share/aclocal"
    export PKGCONFIGPATH="/sw/lib/pkgconfig"
    export MACOSXDEPLOYMENTTARGET=10.4
    DISPLAY=:0.0; export DISPLAY
    test -r /sw/bin/init.sh && . /sw/bin/init.sh
    The error is from the Path addition ... don't know where that came from; I may have been reading something suggesting I add it, but frankly don't remember where or when.
    However, that sentence is found in a "Fink" file I saw once.
    Any ideas how to correct the problem?

    with only the following lines active:
    # Your previous .profile (if any) is saved as .profile.dpsaved <<<<<<<<not true, not there!!!
    # Setting the path for DarwinPorts.
    export PATH=/sw/bin:/sw/sbin:/bin/sbin:/usr/bin:/usr/sbin:$PATH
    #export CFLAGS=-I/sw/include
    YIELDS:
    Welcome to Darwin!
    Zork:~ rd$
    With:
    # Your previous .profile (if any) is saved as .profile.dpsaved
    # Setting the path for DarwinPorts.
    export PATH=/sw/bin:/sw/sbin:/bin/sbin:/usr/bin:/usr/sbin:$PATH
    export CFLAGS=-I/sw/include
    #export LDFLAGS=-L/sw/lib
    Last login: Wed Mar 14 14:28:54 on ttyp1
    Welcome to Darwin!
    #export': not a valid identifier
    #export': not a valid identifier
    #export': not a valid identifier
    #export': not a valid identifier
    ': not a valid identifier
    Zork:~ rd$
    well well well ... what did I learn?
    (other than to comment that line out)
    Yields:

  • IPod crashed during updater - Won't start, weird icon

    Hi!
    I attached my iPod to my computer this morning to put more tunes on it. The computer recognized my unit, but told me I needed to update the software, so I did. After I clicked on Update, I was told to plug it in to an outlet to complete the update. Once I did that, the apple logo showed up and then I saw a new icon -briefly- that looked like it was directing me to connect to USB. I cannot find this icon in ANY troubleshooting or technical materials.
    Now, my iPod won't start. I did the 5 "r" and tried to manually reset 8 times. It still won't start!!!
    Help, please!!!!!!

    If you have a FireWire cable, you can try starting up your Mac in FireWire Target Disk Mode. (Hold the "t" key down at startup.) Then plug your Mac into hers with a 6-pin to 6-pin FireWire cable. Your hard drive should appear on her Desktop. Then you can use her Disk Utility to verify/repair your hard drive. Note that it would be best if she was running the same version of Mac OS X that you have installed on your computer. For example, you don't want to try to repair a Mac OS X 10.4.x hard drive from a Mac with Mac OS X 10.3.x.
    You can find out about FireWire Target Disk Mode here:
    http://docs.info.apple.com/article.html?artnum=58583
    -Doug

  • Ibook won't start - weird icon

    My ibook froze and when I rebooted it, the screen was blank. In the center was a small icon of a folder and a ? mark was flashing on and off with the finder icon (inside of this folder icon) as if it can't find the hard drive? The fan (or hard drive?) spins and it sounds stuck for a few seconds before that icon appears and no other noises are made. I've never had problems before and I'm studying abroad for another month in Bulgaria so going into a store or re-putting in my cds or even calling apple wouldn't work for me for right now. Any other suggestions? If not, what can I do when I'm home in the States in a month?
    ibook g4    

    If you have a FireWire cable, you can try starting up your Mac in FireWire Target Disk Mode. (Hold the "t" key down at startup.) Then plug your Mac into hers with a 6-pin to 6-pin FireWire cable. Your hard drive should appear on her Desktop. Then you can use her Disk Utility to verify/repair your hard drive. Note that it would be best if she was running the same version of Mac OS X that you have installed on your computer. For example, you don't want to try to repair a Mac OS X 10.4.x hard drive from a Mac with Mac OS X 10.3.x.
    You can find out about FireWire Target Disk Mode here:
    http://docs.info.apple.com/article.html?artnum=58583
    -Doug

  • Terminal App weird user change and time host

    I've been changing between iTerm and the Terminal app. And this appears in both, so I'm a little confused. Every so often when my MacBook Pro has been on for so long, I open a new terminal, either app this still happens, and my user name disappears and my hostname changes to time. It's not consistent on when it decides to do this, I'm not sure what is going on. A reboot fixes it, but I'd like to know why it's happening in the first place. I've had this happen on my Mac Mini as well, and I've noticed it happening on Leopard, though I will admit, I wasn't using the terminal apps until Snow Leopard. Has anyone else come across this, and if so, any ideas on what is going on?
    Thanks
    Message was edited by: alucardbc

    No opening a new terminal window doesn't fix it.
    Just opened an iTerm and Terminal app window and they just did it. This is what it prints out:
    Last login: Tue Mar 9 10:43:04 on ttys000
    time:~ username$
    Here is also the output of echo $PS1 when the prompt is wrong:
    time:~ username$ echo $PS1
    \h:\W \u\$
    Here is the output with the correct hostname:
    LilPro:~ username$ echo $PS1
    \h:\W \u\$
    They look exactly the same. Something is temporarily changing my hostname until I reboot.
    Message was edited by: alucardbc
    Message was edited by: alucardbc

  • IMac won't Start - weird problem

    Hi
    I have an iMac revision B running Tiger. During the last several days I had my government e-mail being forwarded to my mac due to my being out of the office. Apparently the mailbox in my government account became full and the NavyMarineCorps Instranet (NMCI) sent a bunch of messages saying my mailbox was full and blocked me from sending mail until I emptied it. I obviously could not do that until I got back to the office.
    Well after that my iMac started acting strange. First the mail froze and then wouldn't let me restart mail mail saying my home folder was full. I shut down my machine hopeing to correct the problem and now it won't restart. It gets the gray screen and twirling ball and then the fans kick in at full speed but nothing else.
    Any suggestions? Help please.

    Have you tried booting up from the DVD that shipped with the iMac? Do this and make sure you actually have room on your hard drive. If so, slecet the drive in utilities and repair permissions.
    Leave a message with additional details and someone will no doubt be able to assist you.
    Also, if you have Applecare, (or maybe within the warranty phone call period) it would be worth a call to Apple tech support and they would be able to assist you as well.

  • Wont even start, weird error

    Ok i have a 60GB iPod Video and whenever i try to turn it on this message comes up, "www.apple.com/support/ipod" any ideas or help? cuz my warranty just expired and i hope i can fix it myself

    http://www.apple.com/support/ipod/earlier/

  • [SOLVED] Terminator stopped working Unable to start shell:/bin/bash

    Hello,
    I just wanted to share as I didn't found anything about it,
    Since yesterday I can't launch my favorite terminal emulator which is terminator, it gives me :
    Unable to start shell:/bin/bash
    displayed in terminator window where I'm supposed to type commands.
    What is strange is that I can launch /bin/bash in tty's plus I installed xterm temporarily which works fine with bash.
    One more thing is that if I close terminator window it closes my graphical session !
    Any idea to troubleshoot this ?
    Last edited by detestable (2013-08-16 08:39:54)

    I'm getting this :
    me@latitude ~ $ gdb /usr/bin/python
    GNU gdb (GDB) 7.6
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/python3.3...(no debugging symbols found)...done.
    (gdb) run /bin/terminator
    Starting program: /usr/bin/python3.3 /bin/terminator
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    File "/bin/terminator", line 103
    except (KeyError,ValueError), ex:
    ^
    SyntaxError: invalid syntax
    [Inferior 1 (process 13780) exited with code 01]
    I also tried gnome-terminal which is not working correctly (installed right now)
    From the user interface it says in red :
    "There was an error creating the child process for this terminal"
    "grantpt failed: Operation not permitted"
    From gdb :
    m@latitude ~ $ gdb /usr/bin/gnome-terminal
    GNU gdb (GDB) 7.6
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/gnome-terminal...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/gnome-terminal
    warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    [New Thread 0x7fffea2b9700 (LWP 13839)]
    Error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._vte_2dpty_2derror.Code1: grantpt failed: Operation not permitted
    [Thread 0x7fffea2b9700 (LWP 13839) exited]
    [Inferior 1 (process 13835) exited normally]
    Only xterm seems to work

  • How can i start Terminal automatically? Best Terminal f.p3?

    Hi!
    How can i start Terminal automatically?
    I want, that the or a terminal starts, after i am logged in in gnome? Which Terminal ist the best for a p3 700MHz? Xterm?
    Thank you
    benny

    To autostart applications, like ur terminal, u can go in the menu to "System" -> "Settings" -> "Sessions" and a windows opens in which u can achieve this and a bit more.
    "Best" terminal in gnome would gnome-terminal. First try that one and if its too slow for some reason for you u might try urxvt. xterm is of course pretty small and fast, but lacks some neat features imo
    cheers,
    detto

  • Message no. AA730 Last posting run terminated

    Hello,
    I loaded incorrectly assets (asset class land) with depreciation key but for a land there is no account determination.
    I´ve deleted the incorrect assets and when I run the depreciaton I´m receiving the error message Message no. AA730 Last posting run terminated Start the posting run for period xxxx again using the restart parameter.
    When I run the Restart there is the error message Message no. AU101 - There is no data record which meets the selection conditions specified.
    Is there any correction programm.
    Thanks

    Hi, it´s testing client but I can´t to delete the line item within one company code. I´ve found out the table ANLP has still value even I deleted the assets. Is there any transaction or program to delete ANLP entries with determination of Fixed asset No (one asset No not all table). I cant to go and delete directly in a table.
    Thank you a lot

Maybe you are looking for