Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to browse all available smb shares in the network, like clicking the "network" in nautilus then all shares are shown, using command line

the closest one I got is smbclient -L SRVNAME, which lists all shares in SRVNAME as well as all other servers in the workgroup and other workgroups available, but it requires me knowing at least the correct SRVNAME

share|improve this question

migrated from Jan 1 '11 at 20:52

This question came from our site for professional and enthusiast programmers.

up vote 7 down vote accepted

Use smbtree command to see all the clients & shared folders in a tree fashion.

share|improve this answer
Something wrong with the command. While dolphin shows really a lot of smb directories, smbtree only shows a single, which is also local. – Hi-Angel Oct 23 '15 at 14:49

I use findsmb It works similar to smbtree.

  • smbtree will show you a list of all available workgroups and clients under those work groups.

Enter usernames's password:

        \\host1\ADMIN$          IPC Service (SMB Server)
        \\host1\IPC$            IPC Service (SMB Server)
        \\host1\print           Printer
        \\host2\C$              Default share
        \\host2\ADMIN$          Remote Admin
        \\host2\Z$              Default share
  • smbfind will show you a list of all client that are advertising them selves as available.




share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.