nmblookup -A ip_address

nmblookup is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries. The options allow the name queries to   be directed at a particular IP broadcast area or to a particular machine. All queries are done over UDP.   from Man page

Status of a networked MS Windows machine (with an NetBIOS name). This command is an equivalent of Windows nbtstat command.  from http://linux.about.com/od/linux101/l/blnewbie5_17.htm

root@# nmblookup -A
Looking up status of
        DEBIAN_JHLEE    <00> -         B <ACTIVE>
        DEBIAN_JHLEE    <03> -         B <ACTIVE>
        DEBIAN_JHLEE    <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        WORKGROUP       <1d> -         B <ACTIVE>
        WORKGROUP       <1e> - <GROUP> B <ACTIVE>
        WORKGROUP       <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00

'Computer > linux' 카테고리의 다른 글

untar a tar file into a specific directory name  (0) 2013.12.31
identify NetBIOS names on Linux  (0) 2013.12.20
use UUID to fix a device name  (0) 2013.12.18
compare two directories by using diff  (0) 2013.10.28
posted by citadel