We have a small LAN in my office, I use Ubuntu and other PCs have Windows XP and 7 - they have some shared folder on them.

How dp I get a list of Windows's shared folders on Ubuntu in Terminal (using the command line)?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Use smbclient, an "ftp-like client to access SMB/CIFS resources on servers":

smbclient -L hostname -U username

This will list all available shares to that user on the specified machine. More about smbclient is available in the manpage, just call man smbclient.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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