How to get list of computers similar to what is shown under "Network" in Windows

In Windows 7 when I click on Network I get a list of computers with the same workgroup of mine. But in Fedora when I click on Network I just get a single item Windows Network and I can’t see the computers that are shown in Windows.

How can I see them in Linux?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

From the command line you can use the smbtree tool:

$ smbtree 
    \\WOLEVER               wolever
        \\WOLEVER\IPC$              IPC Service (wolever)
        \\WOLEVER\Downloads         Downloads
    \\MACBOOK-D397E8        Some MacBook
        \\MACBOOK-D397E8\IPC$               IPC Service (Some MacBook)
        \\MACBOOK-D397E8\Screenshots        Screenshots

Solution 2

An alternate solution, although it isn’t used in the default File Manager on Fedora, is nmap. Just type e.g.


(nmap is just a general-purpose network scanner, not samba-specific.)

Solution 3

You might be also interested not specifically in discovering samba (Windows) services on the local network, but in analoguous lists of services available on the local network discovered by other protocols.

So here’s another answer:

you can also discover the services that have been published through avahi/bonjour (mdnssd) with tools like avahi-browse -a (CLI) and avahi-discover (GUI).

Modern GNU/Linux distros and Mac OS X usually publish itself and their shared services through avahi/bonjour for the discovery in the local network.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply