smb browse from the command line?

Marius Gedminas marius at pov.lt
Mon Jul 28 23:11:18 UTC 2008


On Mon, Jul 28, 2008 at 06:07:20PM -0500, Chris Mohler wrote:
> On Mon, Jul 28, 2008 at 5:41 PM, David Vincent
> <dvincent at sleepdeprived.ca> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > hi list.
> >
> > a while ago someone posted about a command-line tool which spit out the
> > local smb network details - machine names and shares etc.
> >
> > i can't for the life of me find it in my mail archive now - anyone have
> > a clue what tool i am talking about?
> >
> > thanks in advance if this was vague enough to jog your memory.
> 
> I've used 'smbclient' to list shares on a machine.  Maybe it has an
> option to scan?  Not sure...

smbclient -L somehostname

Shows all the shares exported on a machine called 'somehostname', and
also lists all other local machines known to it.

Marius Gedminas
-- 
"Don't trust a statistic you haven't faked yourself."
	-- Seen in another posting by Markus Kuhn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080729/41f4e1e2/attachment.sig>


More information about the ubuntu-users mailing list