What command can I do in terminal to find hostnames of IP?

I lost my excel file that had the names of all the computers on my network and their associated IP addresses. What command can I run to find the names of the computers on my network??
Plan B is to walk around to each computer and get them.
Thanks!

arp -a will return you "some" of the hostnames
not a perfect solution but its something

Similar Messages

  • What command can be run from the cmd to inquire about the language layout that is used right now?

    I have windows 7 32bit platform. Is there any command that can be run from the command line just to inquire about the language bar that is currently in use? Suppose I have English keyboard on my machine but I am switching between 3 languages when I write
    my documents (e.g. English, German, Spanish). I want to know if there is any way to tell what language layout that is in current use as seen in the language bar. This question is not about how to change language layout from the command line -- just to know
    what layout. For example, the command can return some sort of string to indicate which layout is currently in use: "english", "german", "spanish", and so on.
    My ultimate goal from this question is to pass this output into an external editor that will hopefully change font based on the input language? Any help to achieve this goal will be much appreciated.
    Or put differently, what is the best way to tell an external editor like Emacs about the current language layout that is in current use?

    For the current input language you can try using
    reg query "HKCU\Keyboard Layout\Preload" /v 1
    The return value includes an eight digit hex value. The first four digits indicate either default layout for the language (all zeros) or a variation (non-zero). The last four digits are the locale id - see:
    http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
    From this table, you can see in the example above my input language is English - Australia. 
    For the keyboard layout you could try
    WMIC Path Win32_Keyboard Get Layout
    0409 is an English - US keyboard.
    For a few other ideas/methods try reading
    http://p0w3rsh3ll.wordpress.com/2013/06/07/about-keyboard-layouts/

  • What commands can I use in iChat, like "/me"?

    What special commands can I use in iChat?
    I know about the command /me
    And I know there's a command to roll dice
    What are the other commands, or what command will get me a list of commands?

    Hi,
    I know about slashme ( /me )
    For those that don't know it is something you can type in a Text Chat and it wil appear in the middle of a Text chat at the same point Timing and the Joining/Leaving messages.
    /me waves will appear as "Ralph Johns waves".
    The name that appears for you and your Buddies doing this depends on how you store your name in the Address Book (Real name in iChat) and those of your Buddies. If you only know/store their Screen Name That is what appears.
    I don't know about the Dice roll though.
    Could do with knowing what that is.
    4:18 PM Sunday; September 20, 2009

  • What command can I run to see what ports are being used?

    I am trying to connect to citrix and I am receiving a message saying port 999 already in use.
    How can I fix this?
    Thanks,
    JS

    I don't know about commands but in your application/utilities folder there is an application called Network Utility that can scan your ports. I don't have any real experience with it but if it seems confusing try accessing the help files for the utility in the help menu and maybe that will ease the confusion.

  • What commands can be performed with COM/OLE automation?

    I believe I have posted this question before. Let's hope I have better luck this time.
    Where are the "remote control" (those available through COM/OLE automation) commands documented?
    I would be satisfied if at least I can find out how to perform the following command programmatically:
      Document | OCR Text Recogniotion | Recognize Text Using OCR
    Can that particular command be performed from a plugin perhaps?
    TIA,
    -Ramon

    > OCR is NOT available via COM - it is only exposed to plugins.
    I suppose, however, that it is possible to write a plugin which is remote controlled from outside and performs the OCR phase?
    -Ramon

  • Macbook Air is locked. What command should I use to reboot? Why is this happening? Pics included

    I recently got a MacBook Air from someone who owed me money. The MacBook Air is completely locked and Im not sure how to bypass the secured login screen or which code to use that will boot in an alternative mode. I've tried Command + R, Command + S, Option and none of these three worked. When I press Command + R, I get the following lock screen (the picture is just upside down, not sure why.)
      I own a macbook pro and have reset my password using Command+R. Not sure if MacBook Airs need a different command. When I press Command+S I get a loading screen, then a screen that tells me "Your computer is disabled. Try Again in 60 minutes"
    Why is this happening?
    What command can I press to bypass this?
    Could I put a clean OS on a USB drive and install it that way to have a clean install? If so, how do I boot it, if I can only get to these screens?
    Now that my computer is disabled and I have to wait 60 minutes, should I perform the correct command once the time is expired or can I use it immediately, while the disabled time is still active?
    Please help!!!!
    Also, not sure which OS its running since I can't get pass this to fully inspect the Macbook Air.

    That is an EFI Firmware Password.
    There are only two ways around it: bring it and some money to Apple, who will certainly want proof of ownership, or obtain the password from its previous owner.
    A third method that I do not recommend is to pay any number of sketchy third party outfits that allege a means of removing the password. There are several reasons I do not recommend it, among them: I have no personal experience with them, I have no idea if they will be successful, and you may have no recourse if they damage the Mac and render it permanently broken. Apple will certainly refuse service if anyone other than Apple or an authorized Apple repair facility tampers with it.
    MacBook Air (Original), MacBook Air (Late 2008), and MacBook Air (Mid 2009): Recovering a lost EFI firmware password - A…
    If you lost or forgot your firmware password - Apple Support

  • Can't open .term Terminal.app files from command line

    Howdy. I use Terminal.app constantly for ssh'ing into numerous remote machines. On my G4 Powerbook I have simply created .term files with customized colors, titlebars, and an appropriate ssh execution string for each machine/userid combination, which I am able to open with "open ~/bin/foo.term". Life is no longer so joyously simple on my new Intel iMac. I create a .term file (via Cmd-s while in a terminal window), but the above command to open foo.term now simply doesn't work on my iMac once a single terminal window has been opened (even after it's been closed) -- I can start one such file only from the finder or via Launchbar or Quicksilver. The only way I can use my .term files is by switching to Terminal and selecting File...Open and clicking on the .term file -- which, being a command line (and Launchbar) junkie, I hate, of course. Applescripts don't work either.
    I would be forever grateful if someone could tell me how to fix this problem!
    txlogic
    Intel iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    TXLogic
    I cannot do it either.
    Ah, interesting -- thanks for the input. I had thought the problem might have something to do with the fact that I was using an Intel iMac, but you are using a PPC iBook. The problem isn't with 10.4.6 either, as that is what I'm running on my G4 Powerbook, and the .term files work as expected on that machine.
    Initially I thought it was a
    problem with permissions, i.e the term file hadn't
    the execute bit set (which it did not). Setting the x
    bit though did not help at all.
    Right, the .term files aren't executable.
    A work around was to
    save the command(s) into a plain text document in
    text edit (not rtf) as a .command file (no txt
    extension in this case) and set its execute bit in
    terminal (sudo chmod u+x ...).
    I don't quite understand the workaround -- what command(s) exactly did you put into the .command file? Could you paste the contents of such a file here?
    I have not dealt with term files extensively but I
    noticed that .term files are xml ones. Could anyone
    shed some light in possible changes in the way
    terminal handles them?
    Since the .term files work as desired on my Powerbook, it now doesn't appear that Terminal.app has changed its processing of the files. Something else is going on here.
    txlogic

  • Hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute

    hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute...
    i tryed diffrent commands such as diskutil eraseDisk JHFS+ Disk1
    diskutil list , wont show up my harddrive , i now its functionally cause it shows up in disk utility with name and i can get info about it , but everything is greyed out can only switch between "erase , partition , recover , Raid ,....
    when i click the apple in the top left corner the whole menu is greyed out... what to do ?  help me please
    Sincerly AppleNoob92
    p.s i have no experience in apple imac's at all never used before, but im kinda windows nerd so computers i understand but this imac make my insane, cant seem to find any solutions anywhere on the WWW....

    Your HD may be crashed, so you probably should use the oringinal install discs to run Apple Hardware Test in extended mode. If error codes appear this confirms a hardware failure. In addition you cannnot repair the HD using Disk Utility from the startup disk, you have to use the origninal Install discs that shipped with the computer or the most up-to-date version of OS X on a disc that you have.

  • #30 | can i run the Terminal Command to stop Snapshots with no problems?

    i am somewhat surprised to find out that the 75 GB of "Backups" that are taking up space on my MBP may be due to some "feature" in Mavericks or the new OS's or whatever and i have had to MOVE all my data off my laptop as a consequence of this over the last two months because i have no more space on my Hard Drive.
    is it legit and OK to follow the terminal commands in #30 without having any problems?
    i am on a mid 2009 MBP running Mavericks and i have a 2 TB Time Capsule that i am wirelessly backing up my data.
    as some kind of sadistic test in advance of running this terminal command - can i plug my laptop into the Time Capsule, unplug the laptop from the time capsule, restart and see how much space got recaptured on my HD for my data?
    i mean, well - i must be missing something but i mean i am hoping i can get this to stop so i can get my data back on my laptop. i'm walking around with an external HD of all my Mac Pro information just so i can get work done when i go to a coffee shop or something.

    for those suffering through this:
    https://discussions.apple.com/message/24878591#24878591
    In Terminal:
         sudo tmutil disablelocal
    Turn off local Time Machine snapshots and trigger automatic cleanup of accumulated local snapshot data. Requires root privileges.
    (use sudo tmutil enablelocal to turn back on)
    this got rid of my 75 GB backup file (!!) and now i am going to move my data back to my laptop...
    not sure if there is an apple tech article to link to regarding this issue but it would be good to post if there is one.

  • What keys can duplicate the "option", "command", and "escape" keys

    Am having to use an 
    ONN  external keyboard and would like to know what keys can duplicate the "Option", "Command" and  "Escape" functions.... Thank you

    krisserz,
    Actually, yes, a lot of things are similar on MACs, but for example, on this page: http://www.bugge.com/Family-and-friends/Illy/illy.html it says to find the folder Adobe Illustrator [X] Settings and there is none on my computer.
    The Move the folder hint says:
    Up to version 10, the name of the folder is Adobe Illustrator [X],
    From version CS on, the name of the folder is Adobe Illustrator [X] Settings.
    [X] is the version number; up to 10, it is just a number, and above that the Creative Suite version number, CS, CS2, CS3, CS4, and so on, is used (the corresponding standalone versions still have simple numbers, CS is called 11, CS2 is called 12, CS3 is called 13, and CS4 is called 14, but the version numbers with CS are used in the folder name).
    So in your case it would be Adobe Illustrator CS3 Settings.
    It may be worth going through all the Other options and try whichever may be relevant (Entorurage is mentioned under 7, along with quite a few others).
    One of the less nice options is to reinstall, in which case the Clean Script should be used. http://www.adobe.com/support/contact/cs3clean.html

  • What's GPIB command can transfer state file to E5062A from external comtrol(PC)

    Deal All
    so far, I can use MMEM:TRAN? "D:A.STA" to read the state file on my PC. and now I have two questions.
    1. how to save this state file in my PC?
    2. what's GPIB command can transfer this state file to E5062A from PC?
    about question 2 : I was read E5061-90042.pdf, and read sample program of page 140, and try MMEM:TRAN this command. but still fail.
    please advance
    Best Regards
    Patch

    You could just save the read data straight to a text file.  That would be the simplest way.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Can we change the terminal user shell on mac os x so that it takes commands as in ubuntu ?

    if not can anyone send me the command list for mac osx terminal .

    I figured it out. For some reason there was no admin write access to the User folders.

  • How can I change the termination character (Hex 00) in LabVIEW?

    I'm talking to a 3rd party device over USB where I make function calls to their DLL. I send and receive Hex commands as Strings data type. I can send without problem however when I read back a string that should be Hex "FF 00 FF", I get back "FF" because LabVIEW sees 00 as a termination character so I don't get any data past the 00.  Likewise if I'm supposed to read "00 FF", I get back nothing!   The following KB linked below explains that LabVIEW sees 00 as a termination character.  It shows where using Serial to change the termination character to something else.  I don't have this option using my 3rd party USB device.  Is there a way to change what LabVIEW sees as it's termination character?
     http://digital.ni.com/public.nsf/allkb/9A3589A05F21A1B186256CE9006448D4

    That article is talking about two things. The first has to do with the fact that in C strings are terminated using 0x00. The second part has to do with a serial port read terminating once it sees 0x00. Based on what you described, I don't believe the second part does not apply to you since you are calling a third-party DLL, so it's doing the serial port read. Is this correct? Or, are you actually doing the serial port read yourself using VISA functions? If you are just calling their DLL, then the issue has to do with the string being passed back from the DLL to LabVIEW. You're probably passing in a string datatype. You should simply change this to a byte array so you get all the values.

  • What commands are needed to configure authentication?

    I'm running the JaasAcn Sample from a DOS prompt on a Win XP client and am getting 'authentication failed'. My Active Directory Realm is AD.COURSEWIZARD.COM and the KDC FQDN is ad.ad.coursewizard.com. It succeeds when I run the 'Sample' locally on the AD server. If I set 'isInitiator=false' in jaas.conf, it succeeds no matter what I enter for username & password. It seems that I need to configure an SPN.
    When setting an SPN, are you declaring that a particular AD user account is associated with a remote service that will be requesting authentication?
    Do I have to also use the 'ktpass' command, even though I'm using a Win client?
    If I use ktpass, but am just testing with a PC on the Inet, should I just use my IP address for domain since I don't have a FQDN?
    Do I need to move the keytab file, created by ktpass, to the client and configure it to use it?
    Does the ADS need to have a krb5.conf or krb5.init file? I don't see one under '../drivers/etc/'.
    What commands are needed in order to configure the server, and client, to authenticate successfully?
    Cheers

    Sorry, I haven't seen a nice JGSS for Windows guide yet.
    Back to your questions:
    1. When setting an SPN, are you declaring that a particular AD user account is associated with a remote service that will be requesting authentication?
    IMHO, setspn creates a service-like alias for a normal AD account, so that GSS style server program can use it as a NT_HOSTBASED_SERVICE name.
    2. Do I have to also use the 'ktpass' command, even though I'm using a Win client?
    ktpass is used at the server side, what you use at client side is unrelated.
    3. If I use ktpass, but am just testing with a PC on the Inet, should I just use my IP address for domain since I don't have a FQDN?
    Porbably not. Anyway, AD works fine with a DNS. If you haven't one, config the AD server as a DNS server.
    4. Do I need to move the keytab file, created by ktpass, to the client and configure it to use it?
    No, keytab is used at server side. The client side uses the native credentials cached in LSA after you login to Windows as an AD account.
    5. Does the ADS need to have a krb5.conf or krb5.init file? I don't see one under '../drivers/etc/'.
    Yes, Java needs the file for both client and server JGSS programs. Normally it should be inside the WINDOWS directory. Somethign weird woun happen if you uses Terminal Services or else. Add -Dsun.security.krb5.debug=true to the Java command line will show you when Java tries to look for this file.
    6. What commands are needed in order to configure the server, and client, to authenticate successfully?
    You need setspn.exe and ktpass.exe on the server to create the SPN and the keytab file. No tools are necessary on the client side, but MS's kerbtray.exe and klist.exe (attention: MS's klist, not Java's) are nice. BTW, a nice network sniffer (say, Wireshark) is also useful.
    I'm not an expert on all these questions, but I cannott resist the temptation to give an answer to each of them.

  • Actions; how do I find what commands don't work in actions?

    [Photoshop CS4, MacOS 10.5.8]
    I'm frustrated in trying to create an action make a channel into a layer. 
    Sounds easy, right?
    I'm got hung up on several issues though, which raised a bigger question:
    • In the approach I'm taking, I want to select the target channel during the action. 
    When I click on Channel X during recording, the action records the step as
    "Select X Channel"
    Unfortunately the particular channel is hardwired into this command so that would
    mean making three different versions of the action.  I have tried looking for a
    more general form of the command, like Select Channel that then takes the
    particular channel as a parameter, e.g. from a drop-down menu.  That at least
    would work in an action. But no such.  (I tried some other ideas like using
    Calculate or Channel Mixer which come close but not close enough.)
    There's a more lame design: selecting the channel before recording the action, then
    creating and deleting extra "internal" channels in the action -- it does work but it
    isn't where I started so I lost a lot of time trying to find something that appears not
    to exist.
    • The lurking question here is how you find
    (a) whether there even exists an actual generic form of a command
      (b) whether the command works in a way that makes it possible to use in an action
    Web searches don't lend themselves to finding information like "what commands
    don't work in actions".  I would really appreciate pointers to any in-depth documents
    on what commands a user can't get at for recording in actions.

    Sorry about the last post, but i knew i had recorded selecting channels by the number instead of the name.
    Well i found one of my older actions which must have been recorded in an old version of photoshop that named the channels with numbers.
    Anyway, see if this action helps you any. (you have to copy the steps to your action)
    https://acrobat.com/#d=DgfhMCZzmUgKlefycUsnJg
    In an RGB color image: channel 1 is the red channel
                             and
    channel 9 is the alpha 6 channel
    Message was edited by: R_Kelly

Maybe you are looking for

  • Partner Application Registration

    When using the Administer Partner Applications page, it appears the application is not being registered completely. The information does not appear in the WWSEC_ENABLER_CONFIG_INFO$ table, as has been suggested in prior posts (everything is fine in W

  • Cant install oracle 8.1.7 on aix 4.3.3

    because of internal issues, i have used my pc to copy the 2 install cd's onto a unix box to try and install from there. the 2 disks are on the unix box and i can read all the files. i run runinstaller from the disk1 directory and it asks if i have ru

  • Error while testing DB Adapter Example

    Hi All, I have created a sample DB Adapter CreditCardValidation Example and deployed successfully When I clicked on TestWebService buuton on EM, its giving the following error. <Jul 2, 2010 6:17:55 PM IST> <Warning> <oracle.integration.platform.block

  • Powerbook shuts down/also hard to wake up when sleeping

    This is driving my wife nuts. Several times when opening up the powerbook she finds it has cut itself off. Other times it is sleeping and really hard to wake up. I have gone so far as to take the battery out and then reboot. Running 10.4.5 and have d

  • Why not support Flash CC 2014 player 10.01 and older?

    Hello, why not support Flash CC 2014 player 10.01 It should count on the fact that it will also create banners for Google. Install old version of CS6 is not a good way. Do something about it. Google say: Important Currently only AdWords Supports Adob