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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
09-18-2004, 02:15 AM
#1
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 ..
09-18-2004, 04:58 AM
#2
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'
09-18-2004, 05:44 AM
#3
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
09-18-2004, 02:32 PM
#4
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'
09-18-2004, 10:56 PM
#5
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.
09-18-2004, 11:28 PM
#6
Member
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
Ah so sorry.
mget
09-19-2004, 12:10 AM
#7
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
09-19-2004, 12:39 AM
#8
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
09-19-2004, 01:49 AM
#9
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.
09-19-2004, 02:49 AM
#10
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: \>
09-19-2004, 03:00 AM
#11
Member
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
And of course:
man smbclient
09-19-2004, 10:35 AM
#12
Member
Registered: Sep 2004
Posts: 312
Thanked: 0
Original Poster
thankx
09-19-2004, 03:11 PM
#13
Member
Registered: Oct 2002
Location: Cali
Distribution: openSuSE, RedHat ES, Cent OS
Posts: 947
Thanked: 28
velcome;
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 03:53 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News
LQ Podcast
LQ Radio