Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Chad Self on November 16, 2002, 06:39:06 AM

Title: browse other smb shares via command line?
Post by: Chad Self 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
Title: Re: browse other smb shares via command line?
Post by: Shad Lords 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