Linux console/CLI/ncurses samba shared folders browsing
16th April 2009
Connecting remotely via ssh to my Debian box at work, I needed to mount a CIFS (samba) share, but didn’t remember server name (or IP) and share name.
At least two convenient utilities are available in Debian Lenny for non-X Samba browsing.
smbtree (part of smbclient package) will list all visible workgroups, their servers, and share names of those servers – including “hidden” shares like C$, IPC$, ADMIN$, print$. Very handy and greppable!
samba-commander (smbc package) is a ncurses samba browser with “find file” functionality.