On Sat, Oct 3, 2009 at 10:31 AM, walt <w41...@gmail.com> wrote: > On 10/03/2009 05:55 AM, Paul Hartman wrote: >> >> On Fri, Oct 2, 2009 at 3:56 PM, Harry Putnam<rea...@newsguy.com> wrote: >>> >>> Do we have tools other than Konqueror that are aware of smb/UNK >>> addressing? >>> >>> Before you answer please note that: >>> I know about ssh >>> I know about fuse >>> I know about mount -tcifs >>> >>> I'd really like to be able to use UNK addressing from the cmd line. >>> >>> cd //host/share >>> >>> I don't now how many of you have noticed but bash shell from cygwin on >>> windows has that capability built in. Or maybe it comes from windows >>> env. >>> You can do `cd //linux-host/share' in a bash terminal >>> >>> If command line smb/UNK is not on without lots of diddling around, what >>> about some file managing tool that does it like Konqueror does. >>> >>> Emacs is said to be able to do this using tramp but I haven't ever >>> gotten it to work. >>> >>> Konqueror can do it... but I don't run kde, and don't really want to >>> fiddle with it in that direction. >> >> Midnight Commander can do it. > > Nifty, I didn't know that. Amazing what mc can do. Couple of points > that are not obvious in case Harry wants to try mc: it needs to be > compiled with the samba USE flag set; and you access your samba shares > using the "Right" or "Left" dropdown menus at the top of the mc window. > > This function of mc (being an old app) I'm guessing is what inspired > the similar functions in konqueror and nautilus, but I'm not sure about > the order of events. > > Thanks for the tip.
You can also use mc's special notation for connecting from the shell prompt inside the program. I highly recommend RTFM since I don't know how to do it specifically and only tried it once a long time ago, so this may be completely wrong. :) But from memory it was _something_ similar to this: cd /#smb:hostname/share You can also connect to things like FTP and fish (ssh/scp) with similar notation from within mc. Check for mc's VFS in the docs or google to see the actual instructions.