LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 09-18-2004, 02:15 AM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0
Window share access through linux (SAMBA)


[Log in to get rid of this advertisement]
I have configured SAMBA in between mandrake 9.2 and windows 98,

i would like to access a doc file named "yoyo telcnologies file.doc"

how can i use get command to access the window share file through command line of linux box

where can i find help for samba commands help (such get, put ......)




-jack


Last edited by emailssent; 09-18-2004 at 03:13 AM..
emailssent is offline     Reply With Quote
Old 09-18-2004, 04:58 AM   #2
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
If you want to move it you have to access it like:

mv yoyo\ telcnologies\ file.doc /place/you/want/it/

I'm not sure I understand the question'
micxz is offline     Reply With Quote
Old 09-18-2004, 05:44 AM   #3
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0

Original Poster
@micxz

it is true that u have not understood the question.

i don't want to move the file. i want to copy the windows share file to linux box through SAMBA server.


-jack
emailssent is offline     Reply With Quote
Old 09-18-2004, 02:32 PM   #4
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
smbclient
smbmount

Try "smb[TAB][TAB]"

Hints' Sorry I think I understand now'
micxz is offline     Reply With Quote
Old 09-18-2004, 10:56 PM   #5
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0

Original Poster
@micxz

I think still u have not understood the questions. So, plz. read carefully and try to help me to solve this query.

I already used smbclient to access windows share by providing this comand

#smbclient //c5m9x2/C

then it shows this and asked me for password i provided that

added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
Password:


then i cd to directory in which my file is located

smb: \>cd emailssent


then i use ls command to show the files

smb: \emailssent\>ls

yoyo telcnologies file.doc A 266424 Sat Sep 18 10:56:36 2004


now i want to copy this file through command line itself to linux box.


So, what command should i type to copy this file, i guess get is used but how ,i tried "get yoyo\ telconologies\ file.doc" but it doesn't worked.
emailssent is offline     Reply With Quote
Old 09-18-2004, 11:28 PM   #6
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
Ah so sorry.

mget
micxz is offline     Reply With Quote
Old 09-19-2004, 12:10 AM   #7
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0

Original Poster
what mget ,

how can we use it ,

i tried

smb: \emailssent\> mget yoyo\ Tecnologies\ file.doc
ERRDOS - ERRbadfile (File not found.) listing \emailssent\yoyo\
ERRDOS - ERRbadfile (File not found.) listing \emailssent\Tecnologies\
ERRDOS - ERRbadfile (File not found.) listing \emailssent\file.doc
smb: \emailssent\>




-jack
emailssent is offline     Reply With Quote
Old 09-19-2004, 12:39 AM   #8
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
No just "mget". Type bold.

smb: \> mget
Get file yoyo Tecnologies file.doc? y
micxz is offline     Reply With Quote
Old 09-19-2004, 01:49 AM   #9
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0

Original Poster
thanks for your response.


there round about 100 files, yoyo file comes at 60th location.

so i have to do n 59 times.

a ? n
b ? n
c ? n
| |
| |
| |
| |
yoyo ? y

So, i have to press 59 times n and then y.

so is there any other way for it.
emailssent is offline     Reply With Quote
Old 09-19-2004, 02:49 AM   #10
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
How about using wild cards:

smb: \> mget yoyo*

Tip:
smb: \> recurse
directory recursion is now on
smb: \> recurse
directory recursion is now off
smb: \>
micxz is offline     Reply With Quote
Old 09-19-2004, 03:00 AM   #11
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
And of course:

man smbclient
micxz is offline     Reply With Quote
Old 09-19-2004, 10:35 AM   #12
emailssent
Member
 
Registered: Sep 2004
Posts: 312
Thanked: 0

Original Poster
thankx
emailssent is offline     Reply With Quote
Old 09-19-2004, 03:11 PM   #13
micxz
Member
 
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
velcome;
micxz is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Samba Share access Spadge67 Fedora 3 11-19-2005 07:57 PM
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 08:59 PM
Samba: can't access share thorax Linux - Software 4 02-13-2005 01:39 PM
share and access DSL donnection with window? demmylls Linux - General 12 04-11-2004 10:17 AM
Installed SAMBA and XP or Win2000 can access Linux Share! Please Help. NYAndy Linux - Newbie 3 02-29-2004 10:29 AM


All times are GMT -5. The time now is 03:53 AM.

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