Terminal login header/message?

What determines what the login header/message for terminal is?
I had this when I opened terminal:
Last login: Sat Jun  1 07:23:54 on ttys000
:~ >
After I installed a fresh copy of Mountain Lion, I got this:
Last login: Sun Jun  2 08:14:09 on console
MacBook-Pro:~ Xiaolu$
My questions is why does it say ttys000 instead of console or vice versa? What's the difference?
And I know that most of the time the header is:
hostname: (directory you're currently in) [username]$
Which is what is shown after the clean install. What would cause it to show up as it did before the clean install? It looks like a simplified version of the full header, but I have no idea what was causing that to happen. And I would much prefer it to be the simplified version.
Any ideas?

Thank you very much, that answered the first part of my question.
I have figured out a little bit  more about the second part of my questions regarding the text displayed per command line.
The change is caused by my installation of Python. Initially, it looked like this:
MacBook-Pro:~ Xiaolu$
Then, after the installation of Python, it looked like this:
:~ [1] >
The things that I installed were Activestate Python 2.7.2 found at: http://www.activestate.com/activepython/downloads
Then, I ran this bash file: http://www.cs.cornell.edu/courses/cs1110/2012fa/materials/install/bash-install.s h
The that I followed precisely can be found here under "Installing for Macintosh": http://www.cs.cornell.edu/courses/cs1110/2012fa/materials/python.php
I still don't understand exactly why the text before the command line would change. I hope these additional details gave you a better idea of what I did, and maybe you can now understand what happened in my situation. If so, please do share

Similar Messages

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • This copy of Microsoft Office 2013 cannot be used on a computer running Terminal Services" error message when you try to open the Click-to-Run version of an Office 2013 program or suite on a terminal server

    Hi All,
    I have Citrix VDI (Virtual Desktop Infrastructure) Implemented
    in my company and installed few Applications on App Server lets say.... MS Office 2013, filzialla, putty, etc...
    I assigned these apps to the users through CITRIX STUDIO, when I try to use these apps. on VDI everything is working fine only when i tried to open Word, Excel or Powerpoing, outlook it throws error as 
    ""This copy of Microsoft Office 2013 cannot be used on a computer running Terminal Services" error message when you try to open the Click-to-Run version of an Office 2013 program or suite on
    a terminal server"" and apps gets closed.
    Please help me on this ASAP.
    Thanks & Regards,
    Sachin Shinde

    Hi,
    As mentioned in ths article below, run for Office 365 products on to a Remote Desktop Session Host server is not supported. You can install Office products for Office 365 to a virtual desktop, but the virtual desktop must be assigned to a single user.
    http://technet.microsoft.com/en-us/library/jj219423(v=office.15).aspx
    Regards,
    Melon Chen
    TechNet Community Support

  • Translation of "Invalid Login Credentials" message

    Hi
    I've application (just) in non-english language. Shared Component / Globalization / Text Messages works well for the translation of "Next/Prev", "Error" texts, but where to translate invalid login error message?
    Roman

    I do not assume you translate APEX into Czech language
    Not yet.
    Your function can redirect to a page that shows the message you like. For example, if you wanted to redisplay the login page with the message, just do something like this:
    owa_util.redirect_url('f?p=' || v('APP_ID') || ':101:' || v('APP_SESSION') || ':MSG' );
    apex_application.g_unrecoverable_error := true;
    return false;
    Then adjust your login page so that a message appears if the "request" value is 'MSG'. The redirect_url shown above sets the request value to 'MSG'. Normally the login page would not show the message because that request value would not be present.
    Scott

  • Getting login error messages in HTML

    Hi all,I would like to have the login error messages (the ones put in ptmsgs_portalbrowsingmsgs.xml) formatted in HTML. The only way I found is to override the LoginModel changing the UIError returned (with SetHTMLMessage method).Is there other way to perform what I want without customizing the Login Activity Space?
    Thank you!Alberto

    Hi,
    Please check out the following link for SAP XI3.0 installation:
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Sushama

  • Unable to set the header - Message-Id in MimeMessage

    Hi all,
    I'm facing problem in setting the header -> Message-Id
    for my MimeMessage.I tried setting the header using
    MimeMessage.setHeader() , also I tried with
    MimeMessage.addHeader() both the methods didn't
    work.
    I've also excuted the MimeMessage.saveChanges()
    after setting the header.
    I tried to display the message after using the above
    with getHeader("Message-Id").
    But it seems like the values I have set are not being
    reflected.
    Can anyone suggest why this is happening?
    Any help will be great!!!
    dannyy

    Hi,
    I'm getting the header after I do MimeMessage.saveChanges(); and before sending the mail.
    I want to change the message-id that was generated as
    you have mention below. Since I'm trying to automate
    a part of my mail. I'm sending a request to a mail robot
    which need the user name in specfic format
    ex: [email protected] But its attaching my
    local machine name at the end like : dannyy.fischer@localhost. Is there a way to change this part in the message id.
    Please let me know.
    thanks
    dannyy

  • Login error message

    Hi All,
    I want to change the login error message that is 'Invalid Login Credentials' and want to display some other error message. How could I do this?
    Thanks in advance.
    Ranjan

    Hi Ranjan,
    You are not the first asking this question so try searching the forum. For example:
    Invalid Login Credentials
    How to make "Invalid Login Credentials" red?
    Regards Pete

  • Login request messages

    Hi,
    Something really weird just happened to me... after restoring my iPhone 4 using iCloud I started getting login request messages with the above username (hapa**** @hotmail.com)... I have no idea what is this email and I can't get rid of this... any idea?
    P.S - I googled it and I saw another person with the same exact email problem but he didn't answer me
    <Email Edited by Host>

    Oh my God!
    The exact same thing has been happening to me for almost an year! Itunes keep  asking me the password to this account.
    How do I solve this problem?
    This is an old Iphone 4S that my sister used to use but this is not her´s account. How can I find out which songs are from this hapa**** @hotmail.com account?
    Thanks!

  • "account login failed" message when trying to login to SL Server

    Hello,
    I have tried to search the forum, but can't find anything that addresses my problem directly, and hope you might be able to help.
    I work in a school with a mixture of Macs and Windows systems.
    I had a 10.4 server working (on a G5) with Windows only machines (before we got the macs), and have recently updated to an xserve running 10.6. I left the users home folders on the 10.4 server, and demoted it to a Standalone server. I am using the Xserve as an OD Master and Primary Domain Controller. I have created a fresh set of users on the the Xserve using Passenger (using the same short name as previously) and have directed them to their home folder on the 10.4 server. All windows machines can login fine and have access to the to their home folders, but when logging into a Mac they get the "account login failed" message. If I create a home folder for them on the xserve they can log in without problems.
    How can I get the users (when they use the Macs) to get access to their home folder? The client macs are bound to the xserve directory and when I log on as Administer I can connect to the 10.4 server and gain access to the home folders.
    I would be grateful for any ideas, many thanks in advance.

    Hello,
    I have tried to search the forum, but can't find anything that addresses my problem directly, and hope you might be able to help.
    I work in a school with a mixture of Macs and Windows systems.
    I had a 10.4 server working (on a G5) with Windows only machines (before we got the macs), and have recently updated to an xserve running 10.6. I left the users home folders on the 10.4 server, and demoted it to a Standalone server. I am using the Xserve as an OD Master and Primary Domain Controller. I have created a fresh set of users on the the Xserve using Passenger (using the same short name as previously) and have directed them to their home folder on the 10.4 server. All windows machines can login fine and have access to the to their home folders, but when logging into a Mac they get the "account login failed" message. If I create a home folder for them on the xserve they can log in without problems.
    How can I get the users (when they use the Macs) to get access to their home folder? The client macs are bound to the xserve directory and when I log on as Administer I can connect to the 10.4 server and gain access to the home folders.
    I would be grateful for any ideas, many thanks in advance.

  • How to merge two head message of datatable

    I want to use a h:dataTable ,most important I want merge two of the head part ,but the body part does not change on Datatable.who can help me !
    it looks likes this:
    <table>
      <tr>
        <td >head1</td>
        <td colspan="2">head2</td>
        <td >head3</td>
      </tr>
      <tr>
        <td >head2.1</td>
        <td >head2.2</td>
      </tr>
      <tr>
        <td >value1</td>
        <td>value2.1</td>
        <td>value2.2</td>
        <td>value3</td>
      </tr>
    </table>my jsf code likes:
    <h:dataTable id="persondocument"  value="#{mpbn0w010.dataModel}" var="dataModel" headerClass="table-title" rowClasses="table-inner-text-line1 ,table-inner-text-line2">
    <h:column>
            <f:facet name="header">
              <h:outputText value="#{msg['mpbn0w010.order']}"/>
            </f:facet>
            <h:outputText value="#{mpbn0w010.orderNumber}"/>
          </h:column>
    <h:panelGrid >
      <h:outputText value="#{msg['mpbn0w010.argappraiseamt']}"/>
       <h:panelGroup >
         <h:column>
            <f:facet name="header">
              <h:outputText value="#{msg['mpbn0w010.advancepercent']}"/>
            </f:facet>
            <h:outputText value="#{dataModel.advancePercent}"/>
          </h:column>
          <h:column>
            <f:facet name="header">
              <h:outputText value="#{msg['mpbn0w010.flag']}"/>
            </f:facet>
            <h:outputText value="#{dataModel.rewardPercent}"/>
          </h:column>
      </h:panelGroup >
          </h:panelGrid>
    <h:column>
            <f:facet name="header">
              <h:outputText value="#{msg['mpbn0w010.amount']}"/>
            </f:facet>
            <h:outputText value="#{dataModel.advanceAmt}"/>
          </h:column>
    </h:dataTable >here I just want to merge the head message ,but it does not work ,who can help me ?

    Hi,
    You can not change analysis period as per your request. Because every change you do in SAP is prospective & not retrospective.
    By deleting & creating new one will might solve your problem.But I hope some data might be there in old cost center which you have to transfer first.This will have impact on your analysis period of new cost center.Check this scenario  carefully.
    Regards,
    Abhijit

  • Header Message (urgent)

    Hi,
    We are using tomcat web server, jsp, servlets etc......................
    I am getting the following header message if i loged into the site...................
    The message i am getting as :
    HTTP/1.1 200 OK Date: Sun, 21 Apr 2002 13:38:33 GMT Server: Apache/1.3.19 (Unix) mod_ssl/2.8.1 OpenSSL/0.9.6 tomcat/1.0 Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.2.2; SunOS 5.8 sparc; java.vendor=Sun Microsystems Inc.) Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html;charset=8859_1 2000
    Please can one help why i am getting this header message and how can i remove this header message................
    Thanks.

    Hi,
    It is displaying on the browser ......................
    It is display only some times and when i refresh the page that is not coming on the browser .......
    I am struggling with this why i am getting this information on the browser some times.........
    Please help how to avoid that information on the browser i.e it doesn't show on the browser......
    Thanks.

  • Hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    Go here.
    Good luck,
    Clinton

  • Une fois l'installation de OS X Mavericks terminée, un message d'erreur apparaît indiquant "L'installation a échoué. OS X n'a pu être installé sur cet ordinateur , Impossible de mettre à niveau OS X car le disque Macintosh Hd est endommagé et irréparable.

    Une fois l'installation de OS X Mavericks terminée, un message d'erreur apparaît indiquant "L'installation a échoué. OS X n'a pu être installé sur cet ordinateur                                                                                                                                                                                                                                                        Impossible de mettre à niveau OS X car le disque Macintosh Hd est endommagé et irréparable.Après avoir redémarré votre ordinateur,sauvegardez vos données, effacez votre disque et tentez à nouveau l'installation.
    Cliquez sur rédemarrer pour rédemarrez l'ordinateur, puis tentez une nouvelle installation."
    Je clique sur le bouton redémarrer mais le message d'erreur apparait encore et ainsi de suite ...
    Je ne sais pas quoi faire, merci de votre aide ...

    Une fois l'installation de OS X Mavericks terminée, un message d'erreur apparaît indiquant "L'installation a échoué. OS X n'a pu être installé sur cet ordinateur                                                                                                                                                                                                                                                        Impossible de mettre à niveau OS X car le disque Macintosh Hd est endommagé et irréparable.Après avoir redémarré votre ordinateur,sauvegardez vos données, effacez votre disque et tentez à nouveau l'installation.
    Cliquez sur rédemarrer pour rédemarrez l'ordinateur, puis tentez une nouvelle installation."
    Je clique sur le bouton redémarrer mais le message d'erreur apparait encore et ainsi de suite ...
    Je ne sais pas quoi faire, merci de votre aide ...

  • I am not able to login into messages app

    i can't login to messages app it is always asking password by nit logging in

    Hi,
    As the Messages app could be logging in to AIM, Jabber, Yahoo, Bonjour and iMessages and four of those five need passwords but some could be the same as your Apple ID, you are going to have to be clearer.
    iMessages uses an Apple ID. It may well be your iCloud ID (All iCloud IDs are Apple IDs but not all Apple IDs are iCloud IDs)
    An Apple ID issues by Apple ending in @mac.com or @me.com if registered with iCloud or an @icloud.com  one can also be Valid AIM Screen Names.
    The same is true of an Google ID and an Jabber account in Messages were you might use  the Google ID as your Apple ID.
    Technically the same is true of a Yahoo ID but this is less likely.
    Bonjour does not need a password so we can eliminate that.
    9:12 pm      Friday; March 20, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How did I resolve the terminal error. ( Terminal-login-80x24 )

    If you met the error of terminal like "Terminal-login-80x24" on the top of the windows, you can do this to resolve the issue. Every time when I met that error, I did the follow step to fix it.
    first, we named the local hard drive(has terminal problem) as A, another hard drive(also include mac system) as B.
    1. Connect B to your mac.
    2. Restart your mac from B.
    3. After login the system, open the Terminal.app both on A and B. your will find the difference of the terminal window.
    4. Close the terminal window which has problem and reopen it, a miracle happened, the terminal become normal.
    5. Restart your mac from A, you can use terminal again. HaHa
    Also you can connect your mac to your friend's mac by FireWire to do this.
    English is not my mother tongue, sorry for poor expression.
    Anyway, wish this can help you.

    Hi 
    Here is the solution:
    http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/HPOJ-8600/m-p/1487519/highlight/true#M...
    Happy Printing.
    Click on the "Thumbs up"button on the left to say "Thanks"
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

Maybe you are looking for

  • How do I know if my cm2320nfMFP is dead

    My cm2320nfMFP is displaying a purple screen where I usually see the menu.  Does that mean it has died.  This happened once before, and it needed a new mother board.  This machine is lousy, and I have had nothing but headaches since I purchased.  I w

  • Standard prgram and the standard form for the AR Bill of Exchange

    I need to configure AR Program for Bank bills and Bill of Exchange. This configuration is for France. Can you let me knoe the standard prgram and the standard form for the same. Regards, Senthil

  • Overview of Alive Flash Slideshow Maker

    Alive Flash Slideshow Maker is a professional slideshow builder to easily create high-impact photo slideshows. It turns your digital photos to flash ( SWF ) slideshow with background music and transition effects. So that you can upload the output fla

  • Saving application state on application unload?

    Hi, I want to save my application's state in the shared local object when it gets unloaded (ie, when the user goes to another web page or when the user closes the browser. Is there a on unload event for the _root flash movie? How do I do this? Thanks

  • Files put on server fine, website not showing

    Good evening! I'm brand new at this website development. I thought I had a great page, previewed it ~ looked great and all links worked, uploaded it onto the remote server. Host agency says all files look fine on their end. However, website is not sh