In my home network, the Linux machines all have avahi installed and can access each other by their hostnames instead of by their IP
But for the Windows machine I could only manage to connect to it by directly passing its IP address:
I tried multiple variations of its hostname and none of them worked.
#All of these give an "unknown host" error ping IE11WIN7 ping IE11WIN7.local ping IE11Win7 ping IE11Win7.local
Is there a way to, from the Linux command line, connect to the windows machine by passing the hostname instead of the IP?
By the way, I noticed that the machine in question does appear on the "windows network" list if I try to access it via my file browser (Thunar) so if possible I would like if the command-line accessing used a similar trick instead of me having to end up resorting to editing my etc/hosts file by hand.