Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)?

share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

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.