1.Windows ping Linux Host name

#ubuntu Next 
sudo apt-get install winbind
#centos Next
yum install samba
service nmb start

2.Linux or Mac ping Linux Host name

Add a suffix after the host name “.local”, for example :

ping hostname.local

LAN ping Linux More articles on host names

  1. linux The following is a quick list of all the host names in the LAN ( Computer name ) Script for

    Recently, there is a need to list all the host names in the LAN (SMB In the agreement ), however findsmb The command is always incomplete , After searching the Internet, there is no ready-made solution , So I wrote a python Script The script scans the LAN arp All in the table ip, And try to analyze ...

  2. You can't ping Host name

    https://www.linuxidc.com/Linux/2017-03/142253.htm sudo apt-get install winbind , sudo apt-get instal ...

  3. modify Linux Host name and IP Mapping between

    linux Host version : Distributor ID: UbuntuDescription: Ubuntu 14.10Release: 14.10 One . modify linux Host name 1. Use hostname command ...

  4. linux Host name modification

    Reading guide In a LAN , Each machine has a host name , Easy to distinguish between hosts , So set the host name for each machine , Visit each other in a way that is easy to remember . For example, we can name each machine according to its function in LAN . View host name commands [ ...

  5. How to modify Linux Host name

    Linux It's a lot of trouble , Even changing the host name is no exception . Let's talk about the specific methods below . Linux After installed , The default host name is localhost. modify Linux The host name needs 3 Step . Use hostname ...

  6. linux Host name

    [linux Host name ] 1. View host name The host name is the name of a host , Enter the command in the terminal window :hostname or uname –n, You can view the host name of the current host . 2. Modify the host name temporarily Run the command from the command line :“hos ...

  7. Linux Host name settings

    Linux Host name settings Linux The steps to set the host name are as follows : 1. stay /etc/sysconfig/network Modification in file HOSTNAME The value of is the host name to be set . HOSTNAME=myhost 2. stay /e ...

  8. linux Host name

    View host name commands :# uname -n csdba #hostname csdba 1. adopt hostname command . Command format :hostname newhostname The purpose of this command is to temporarily modify linux Of ...

  9. How to scan LAN efficiently IP、 Host name 、MAC And port

    In recent years, we often use RFID reader , Smart home gateway , Temperature and humidity sensor . Serial server . Video encoder, etc , Generally, there are serial port and network port , Due to site reasons, serial port is seldom used , Most of them use network ports . The connection method is IP Address and port , Some devices have search software , Yes ...

Random recommendation

  1. ViewPager and Fragment Combined use of fragment It contains listview Frequently asked questions about

    We may encounter similar requirements in the process of development , We need to make a slide left and right tab Navigation , At this time, some friends may think of viewpager and fragment To achieve this function : Of course, there is more than one way to achieve it . Let's discuss this essay ...

  2. [zz] Take advantage of the fragmented time to keep fit

    Take advantage of the fragmented time to keep fit ( On ) http://v.163.com/zixun/V96957QH6/VBSQ4D861.html#from=zixunplay_recommended Take advantage of the fragmented time to keep fit ( Next ) h ...

  3. tomcat Server configuration and use

    order :tomcat As a free and open source web The server , It's very popular , But how to use this server ? Let's teach you how to operate step by step tomcat The server One . Access configuration edit tomcat-users.xml File configuration tomcat clothing ...

  4. python Key parameters

    Original address :http://docs.pythontab.com/python/python3.4/controlflow.html#tut-functions Functions can be   Key parameters   To call , shape ...

  5. python Learning notes —— List generation and generator

    1. List generator (List Comprehensions) python in , List generation is used to create lists , It's simpler than loop implementation . for instance , Generate [1*1, 2*2, ... , 10*10], Loop in three lines ...

  6. cookie Storage value and value method of

    Recently, user name information has been stored in development , It's convenient to use sessionStorage, But I didn't think of it until I wrote it sessionStorage stay IE The following is not supported , So I have no choice but to use cookie Now let's talk about how to use coo ...

  7. About graph computation and graphx Some thoughts on [ turn ]

    Link to the original text :http://www.tuicool.com/articles/3MjURj “ Networks all over the world are connected , Innner sonnell must achieve .” Benefit from this era , The Internet has gone from the corner of the minority to the central stage of history . If ...

  8. css Some special selectors

    css Some special selectors 1. stay box in , From the first few div Start choosing , The future will choose to , The following code indicates that from #box The second one div Start choosing :#box div:nth-of-type(n+2){}2. Choose an odd number of :d ...

  9. CentOS/Linux Lower setup IP Address

    CentOS/Linux Lower setup IP Address 1: Temporary modification :1.1: modify IP Address # ifconfig eth0 192.168.100.100 1.2: Modify the gateway address # route add default g ...

  10. Project Euler Problem6

    Sum square difference Problem 6 The sum of the squares of the first ten natural numbers is, 12 + 22  ...