Terminal. Strange name in TERMINAL

Can you imagine how this second name in my macbook blew me away?!?
Seriously, like really creepy

sudo scutil --set HostName whatever-you-want
If that doesn't work, the hostname is being set to the result of a reverse lookup of your IP address on a local DNS server, most likely your gateway.

Similar Messages

  • [SOLVED] Reverting Guake terminal tab names back to 'Terminal #'

    The new version of Guake (0.4.3) implemented 'Better Tab Titling'.  This means that instead of a new tab name being 'Terminal #' (where # is an auto incrementing integer), it instead forced the title to be equal to the VTE prompt.
    My issues were that there was no way to set a preference to switch back (as I prefer the simple tab name) and that tab names could/would take a very large amount of space (as it would put my whole username@server:/path/to/where/i/am/at).
    So   I figured out how to fix and thought I'd share in case anyone else would like to switch back:
    NOTE:  I believe python is spacing-sensitive (please correct me if I'm wrong).  All the lines (added/edited) are indented 8 spaces.
    edit /usr/bin/guake
    find: self.selected_tab = None
    after that line, add:
            # holds the number of created tabs. This counter will not be
            # reset to avoid problems of repeated tab names.
            self.tab_counter = 0
    find: def on_terminal_title_changed(self, vte, box):
    after that line add:
            return
    find: Adding a new radio button to the tabbar
    the next line will read:
            label = box.terminal.get_window_title() or _("Terminal")
    change to:
            label = box.terminal.get_window_title() or _('Terminal %s') % self.tab_counter
    find self.tabs.pack_start(bnt, expand=False, padding=1)
    after that line add:
            self.tab_counter += 1
    After editing the file, restart Guake for the change to take effect.
    Beemer

    I have been using Guake for years and I think the tab bar is in the way. I disabled it a very long time ago and didn't look back.
    Here are the shortcuts that I use:
    "~" to toggle it.
    Ctrl+T for a new tab (just like in Firefox, Chromium).
    F1 and F2 for next and previous tab.
    F3 close tab.
    Basically, I don't need more than two tabs at a time; three tops, in very rare cases.
    Hope it helps.

  • After OSX v10.8.2 Supplemental update of 11/2012, whenever I try to open Terminal app I get "Terminal quit unexpectedly".

    I get Terminal quit unexpectedly with the an error trace as shown below.  As far as the app should be concerned it is being opened for the first time as this is a new profile and the following user preference file isn't present ~/Library/Preferences/com.apple.Terminal.plist.
    Just incase the image file isn't all too legible. I see
    Process:         Terminal [12514]
    Path:            /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
    Identifier:      com.apple.Terminal
    Version:         2.1.2 (273.1)
    Build Info:      Terminal-2730100~3
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [245]
    User ID:         502
    Date/Time:       2012-12-21 08:01:18.389 -0800
    OS Version:      Mac OS X 10.8.2 (12C60)
    Report Version:  10
    Sleep/Wake UUID: 75244423-B220-4B88-B699-1172FDB98D7A
    Interval Since Last Report:          106549 sec
    Crashes Since Last Report:           18
    Per-App Interval Since Last Report:  8 sec
    Per-App Crashes Since Last Report:   4
    Anonymous UUID:                      1C8287C5-CAD9-BDFF-3C55-A389CC64543F
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot find value transformer with name TTBookmarkDataToURLTransformer'
    terminate called throwing an exception
    abort() called
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff95c800a6 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff9855f3f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff95c7fee8 +[NSException raise:format:arguments:] + 104
    3   AppKit                              0x00007fff8e2b362c -[_NSBindingInfo valueTransformer] + 169
    4   AppKit                              0x00007fff8e2b6196 -[NSValueBinder _isExplicitlyNonEditable] + 44
    5   AppKit                              0x00007fff8e2b6119 -[NSValueBinder objectValueSupportsEnabledState:] + 29
    6   AppKit                              0x00007fff8e2b5bf4 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adj ustState:] + 952
    7   AppKit                              0x00007fff8e2b572c -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 192
    8   AppKit                              0x00007fff8e2aa779 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 641
    9   AppKit                              0x00007fff8e13317a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
    10  AppKit                              0x00007fff8e1121fd loadNib + 317
    11  AppKit                              0x00007fff8e111729 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219

    The only way I resolved this was to copy the file: $Home/Library/Preferences/com.apple.Terminal.plist. from my old profile.

  • Strange names in Share menu

    Since I've been using OS X Yosemite (I started with the beta program) that in finder menu always display strange Shared servers.
    First I was hopping that this will go away after OS X final release, but it did not. I'm now running OS X 10.10.
    Can anyone give me an idea hoe to get ride of this MacBookPro xxxxxxxxxxxxx ( x)?
    If I have sharing option OFF, there are always MackBookPro servers on the share finder.
    If I activate on system settings the share folder, a new MacBookPro xxxxx is listed on shared servers with a diferente number. And every time I go ON and OFF on the Share option on the System Preferences, a new server appears.

    I've got it.
    I believe that TimeCapsule has been storing my network servers name for some time. And since I was using Yosemite betas, something went wrong and it stored the servers name.
    I've reset TimeCapsule router and the strange names just disappear.

  • What will be the peoplesoft query to calculate voluntary termination count and involuntary termination count? I am working on OBIA HR analytics workforce deployment reports and need to validate the reports

    what will be the peoplesoft query to calculate voluntary termination count and involuntary termination count? I am working on OBIA HR analytics workforce deployment reports and need to validate the reports. I also want to know the tables involved

    Hi Andrew,
    Part A:
    I've done some restating of the question, and distributed the calculations among several fields, not all of which need to be included on the visible layout. Other than formatting the Date fields and moving the 'Completed Date' field and its label, I've left this in the default "Layout 1" produced by AppleWorks.
    Field List:
    Priority: Popup menu with six items: 00, J, D, 1, 2, 3  Defaults to 00
    TL (time limit in months): Calculation:  CHOOSE('Priority',0,1,3,4,6,12)
    Received: Date. Option: Automatically insert today's date (ie. Date Record created) (may be edited)
    Target Date: Calculation:
    DATE(YEAR('Received')+INT(MONTH('Received')+'TL')/12,MOD(MONTH('Received')+'TL', 12),DAY('Received'))
    Remaining (Days): Calculation: INT('Target Date'+1-NOW())  (see revision below)
    Completed: Checkbox. Set default value to Unchecked.
    Completed Date: Date: Entered manually
    OnTarget: Calculation: IF('Completed',IF('Completed Date'<'Target Date',"On Target","Over"),IF(INT(NOW())>'Target Date',"Over","On Target"))
    The On Target field shows the current status of the case while still open, and the state on the closing date when it was closed.
    Having done that, I was unhappy with the Remaining field continuing to calculate an ever larger negative number after the case had been closed. Hence this revision below:
    Remaining: Calculation: IF('Completed','Target Date'-'Completed Date',INT('Target Date'+1-NOW()))
    Shows the number of days remaining while the case is open, the days remaining at completion if the case has been marked Completed and the completion date entered.
    Rsults (and some further formatting of the Layout) below.
    Part B:
    You will need Subsummary parts when sorted on Completed and on On Target. Fields can appear on  a Layout only once, so each subsummary part will need a separate Summary type field for each field to be summarized.
    Regards,
    Barry

  • Problems in Terminated by ! and Terminated by whitespace

    Hi
    Previously our database was in oracle 8 there we have used to load the data with option termniated by whitespace and terminated by ! both .
    but when we move these datas to oracle 9i it gives problem ..when i change the Terminated by ! to terminated by white space it works ...
    please do let me know the problem is it ok ..currently it is ok ..i feel that it might give problem in future ...
    please do give me the suggestion
    Nanda

    Hi,
      I created an empty Win32 console app.
    Then modified my tools>>options>>project>>VC++ Directories and setup the include and the library directories to also reference the visions and ni-imaq1394 directories.
    I then copied over the code you provided (modified the Sid to read SessionID but no actual change) and added in a printf so it holds the image on screen.
    Please let me know if that works.
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    390106 console snap 1394.zip ‏1272 KB

  • Setting tab name in Terminal

    The tabs in terminal show the current shell. Is there a way to change the tab name to something else?

    sudo scutil --set HostName whatever-you-want
    If that doesn't work, the hostname is being set to the result of a reverse lookup of your IP address on a local DNS server, most likely your gateway.

  • How to change Users name in Terminal Users.

    Hi, I am trying to change my Users name from firstnamelastname to mac on my OSX10.7.5.
    I went to Terminal > Users and tried to rename, however upon reboot, the Terminal > Users always brings back the folder firstnamelastname.
    How can this be changed?
    I did go to Mac > Apple > System Preferences... > System > Users & Groups > Current User. This shows the firstnamelastname has been changed to Mac.
    However I need the Terminal files in /Users also changed from firstnamelastname to Mac.

    Thanks for the reply.
    I went to Mac > Apple > System Preferences... > System > Users & Groups > Login Options > Click the lock to make changes. > Password: > Unlock > Show fast user switching menu as > changed Full Name to Short Name > Click the lock to prevent further changes. > Apple > Restart...
    The Mac still had firstnamelastname in Terminal > /Users rather than the name Mac.
    I then went to Mac > Apple > System Preferences... > System > Users & Groups > Login Options > Click the lock to make changes. > Password: > Unlock > Show fast user switching menu as > changed Short Name to Full Name > Click the lock to prevent further changes. > Apple > Restart...
    The Mac still had firstnamelastname in Terminal > /Users, rather than the name Mac?
    I think the /Users folder with the folder firstnamelastname is some kind of permanent folder when I first set up the Mac, however I would still like to change the folder name, so maybe I need to set up the Mac like new or something...how to do that if there isn't a way of changing the folder name?

  • How do I find correct file name for Terminal?

    I am using the example code: sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m with Terminal. The file is ubuntu.dmg but it claims "no such file or directory." How do I find the correct file name?

    If possible, drag the dmg into the Terminal window instead of typing out its path.
    (67069)

  • Why is my computer name in terminal different to my real computer name?

    In the terminal it says the name of my old, non-existent iPod Touch, not my MacBook Air name. Why is this?!

    Macbook Pro Terminal Query: Apple Support Communities

  • Mac Name in Terminal

    When I open Terminal, the first line says +Last login+ and then date. The second line says: Unknown-00-25-00-a2-b2-80:~ my name.
    I understand the second line to be my network ID but from screen shots I have seen it doesn't seem right.
    Any ideas?

    I'm having the same issue too. Plus when I use the say command, I get all this junk and then the command. Any Idea how to fix this?
    Screenshot - *http://twitpic.com/ika2m*

  • Unknown name in Terminal as username

    i bought a MacBook Pro with OSX version 10.9.2 (Mavericks) since this, (about 2 month) i did not any attention to what happens in my Terminal when i start typing some code in it (java codes for compile or something) but now i got that when i just start my terminal, this totally unknown line will appeared:
    dukhat:~ MacBookpro$
    necessary to say, my basic mac user was macbookpro when i bought this mac but what is this "dukhat"?!
    i googled it but there is no related information about...

    Eustace Mendis wrote:
    Take it back to the Apple store where you bought it and ask them to explain what is going on.
    That is absolutely not necessary!
    I see 2015developer has solved his problem, but just to reiterate... the hostname can be controlled by the network. Some honor the name chosen by the user, in System Preferences -> Sharing -> Computer Name. Some assign a different name. This is entirely normal, and not signs of a hack or an indication that the computer should be returned to Apple.

  • My terminal path/name is showing up as unknown

    I changed my computer name to a single word when I first got this mbp (first one, got it a few days ago). It seemed fine but I've installed a few apps (mvim, simbl, tried to install visor) and for whatever reason, my terminal is now showing up as unknown + mac address.
    I'm not sure how to go about fixing it or if there is even a fix. Any help would be greatly appreciated, thanks!

    That is a reflection of what your DHCP server wants your host name to be. Most people just set a custom prompt that keeps the name you want.

  • Mac Terminal: computer name replaced with "virus"

    Hi, I'm having an issue where, in my Mac terminal, the space where the computer name is shown is instead replaced with the word "virus".
    virus:~<username>$
    Additionally, my internet connection either works terribly or not at all, and this only seems to happen at night.  I have no idea what's going on, but maybe somebody can shed some light on this?

    The most plausible explanation is that someone with access to your computer is messing with you. There's a number of ways of changing the computer's name shown at the command prompt (at least one doesn't involve touching your computer at all):
    1. If your computer is given a name by the DHCP server (your Internet gateway, or whatever you are using), an individual can modify the name that the DHCP service gives your computer and your computer will simply adopt that name when receives its IP address assignment. (Doesn't require access to your computer.)
    2. If your computer didn't get assigned a host name by DHCP, then the system will do a reverse DNS lookup on the IP address it gets. If the DNS server (or /etc/hosts) returns 'virus' as the host name for that IP address, then your system will use that name. (Doesn't require access to your computer.)
    3. If neither of the first two things happened, the system will use the name you set in the Sharing pane of System Preferences. (Someone can set this by simply walking up to your computer and setting it, or by logging in with an admin account and editing /Library/Preference/SystemConfiguration/preferences.plist).
    4. Someone could also edit the default prompt used by bash. The environment variable PS1 contains the prompt template string, the default being PS1='\h:\W \u\$ ' -- the '\h' means host name. You can do
    'echo $PS1' to see if it's set this way. PS1 can be set in /etc/profile, /etc/bashrc, ~/.profile, and ~/.bashrc
    There's a couple of other possibilities if you are integrating with Active Directory or Open Directory

  • Strange command in terminal

    Hi guys,
    I've only recently got a macbook pro and I don't know much about it so apologies if this is a stupid question!
    I looked at terminal today and the information on it has completely changed. Upon startup it says this:
    caitlins-phone:~ rachel*****$
    I am Rachel, so I don't understand what this link is and if it could effect my computer at all. I don't know anyone called Caitlin and I don't understand why this has started appearing.
    Sorry if this is a really stupid question!

    The normal template for the command prompt in the terminal is something like:
    [computer name]:[path] [username]$
    So, for some reason, your computer now has the name "caitlins-phone".  Have you possibly been on a Windows Active Directory network (eg, at work) where the AD server might be pushing out names?  Or possibly a network where both IP addresses and hostnames are pushed via DHCP (or a network where this happened due to poor configuration...)?
    In any case, changing the computer name is fairly simple.  Go to System Preferences and select the Sharing pane.  At the top, set the computer name.
    When you open Terminal again, it should show the correct name.  If you type "hostname" at the prompt, it should return "[computer name].local".  If not, then there may other Terminal magic required, but no point jumping the gun.

Maybe you are looking for

  • Price Change in Framework Order for services, with Invoicing Plan

    Hi All, I create a F.O for a single item with Acct assignment"K" and Item Cat"D". The FO has two service masters with a common cost centre, with different tax codes. E.g.One with N2(19%) and the other with V0(0%). This FO is created with a periodic I

  • Reg: SAP Adobe form size restrictions

    Hi Geeks,            Could anybody explain me about the memory restriction in sap adobe offline forms. Presently the form size is around 670kb with 3 pages. There is plan to expand this to 26 pages with 670kb * 8 .Will there be any performance issue

  • MacBook Pro and Airport Snow Modem

    Hi there, I just bought a MacBook Pro, and was using it last night. When I tried to connect to the internet via my Airport Base Station (snow) using its modem (which I always did with my old Titanium PowerBook), I was disappointed to discover that I

  • What is the maximum number of user accounts that can be logged in at once?

    How many users can be logged in at once, using Fast User Switching (FUS)? Ideally, I'd like an "official" answer from Apple, or if someone can refer me to "official" Apple documentation that answers this question, that would be fine. I think the answ

  • Accounting document creation for sales invoice with IDOC INVOIC02 ?

    Hi All, Our sales invoice are managed in a external system and those Invoice are going to be send in FI with IDOC interface. is it possible to use the IDOC INVOIC02 to do this operation ? if yes, what are the customizing points I have to implement ?