Terminal Question

Discussion in 'Mac Basics and Help' started by Jonnebob, Dec 18, 2008.

  1. Jonnebob macrumors newbie

    Dec 18, 2008
    Where does terminal / OS x pick this up from?


    It used to display 'JonLaptop' the name of my laptop, but for some reason it doesnt any longer!

    EDIT: To expand a little more.... How does OS X decide what goes there automatically? The reason I'm asking is that I'm using synergy and with OS X seemingly changing the terminal name on random I was always having problems connecting to my mac from my pc.

    section: screens
    		meta = alt 
    That was my initial set up and it all worked fine. Over the past couple of weeks i've had to add this as a result of the different names that appear in the terminal screen. Is this normal? Is there anyway for me to get it to stick to one?

    section: aliases
    	JonLaptop:#As set in sharing preference pane
    		JonLaptop.lan #As set in sharing preference pane
    		JonLaptop.local #As set in sharing preference pane
    		Unknown-00-19-e3-37-8b-0c.lan #Macbook mac address
    		Unknown-00-19-e3-37-8b-0c #As set in sharing preference pane #Static IP on my lan
    		Jonny #SMB Sharing name
    		Jonny.lan #SMB Sharing name
    Also what's with the .lan and .local bits?
  2. stomer macrumors 6502a

    Apr 2, 2007
    Leeds, UK
    You need to redefine the hostname. This is configured in the Sharing preferences pane.

    To change your command prompt check out bash documentation for the PS enironmental variable.

Share This Page