Koozali.org: home of the SME Server

browse other smb shares via command line?

Chad Self

browse other smb shares via command line?
« on: November 16, 2002, 06:39:06 AM »
I'd like to mount some smb shares on other boxes in the office (like a templates directory for extra-office memos) to an ibay.

I understand the general practice of mounting, but I'd like to be able to find these shares without having to remember what they are called and what IP they come from.  Is there a command-line tool that will show me local shares like the 'network neighborhood' listing in Windows?

Chad

Shad Lords

Re: browse other smb shares via command line?
« Reply #1 on: November 16, 2002, 05:57:35 PM »
smbclient -U% -L localhost

will give you a list of servers that e-smith knows about

smbclient -U% -L {machinename}

will give you a list of shares on the machine {machinename}

-Shad