Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-23-2005, 04:23 PM   #1
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
how could i navigate in a shell prompt to smb

instead of using a file browser to navigate in window from linux, how could i use in a shell prompt

Old 01-23-2005, 05:04 PM   #2
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 48
On my network if I use SMB4K to look at another computer I see the workgroup name and the workgroup computers underneath that. When I click on a shared drive on workgroup computer it's 'mounted' under my home directory. My example looks like this: /home/glenn/smb4k/OLDENDORFF/DRIVEC_(C)

Oldendorff is the name of the workgroup computer.
If I want to use a shell to navigate there I would type:
cd /home/glenn/smb4k/OLDENDORFF/DRIVEC_\(C\)/
I actually let command completion do the work for me. I typed the first few lette rs of each folder and let the shell do the rest by hitting tab and the shell filled in the rest. In other words, cd /ho<tab>gl<tab>smb<tab>OLD<tab>DRI<tab> and there I was.

Is this what you are asking?
Old 01-23-2005, 05:45 PM   #3
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Original Poster
Rep: Reputation: 30
yup that what i mean, but somehow i couldn't see the dir called smb4k in my $HOME

I have two desktop computers one is winxp and other is win98 and i am accessing by my debian laptop, and i could see, and access though a file browser. For me I feel more comfortable working in a command line instead of gui

so i need to tell smb.conf to make a dir in my home call smb4k, how could do this

Old 01-24-2005, 09:31 PM   #4
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
smbclient //XP_computer/shared_folder -U username

That's command line style!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does your shell prompt look like? david_ross Linux - General 50 04-01-2011 12:15 AM
Different name at shell prompt XJNick Linux - General 3 08-25-2005 10:20 AM
SMB, user prompt , I can not conect to linux from windows. fabianCastle Linux - General 3 05-05-2003 08:12 PM
Shell Prompt xneowolf Linux - General 5 01-26-2003 02:06 AM
C shell prompt robson Linux - General 2 11-12-2001 08:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration