Samba Shares via Command Line? (Oh, and viewing pictures)

Matt Graham danceswithcrows at usa.net
Wed Jan 14 07:59:34 MST 2009


From: "Jon M. Hanson" <jon at the-hansons-az.net>
> smbmount can mount Samba shares from the command line. The command  
> itself gives quite a bit of help and then, of course, there is the man  
> page.

"mount -t smbfs -o username=USER,workgroup=DOMAIN,password=PASS
//BORG/SHARE /mnt/somewhere" will mount an SMB share called SHARE
on server BORG using credentials USER, DOMAIN, and PASS.  Most of the
time, people forget the workgroup= option.  Note that you can also
try -t cifs , which may work better.  Or not.  Try both.  Using cifs,
you'd say "user=USER,domain=DOMAIN".  If neither one works right,
then add "port=139" to the options, since sometimes it won't fail over
to that port when 445 doesn't work.

> If your friend is strictly in a command line environment (no X  
> running) then there isn't any way to view graphics files.

You're forgetting aalib :-)  But yeah, no X = no graphics, pretty much.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see




More information about the PLUG-discuss mailing list