i'm newbie in linux, and i work with linux terminal to control another linux pc(client).

Beside that, i have some permition to access windows pc. They give me some IP address, user, and password.

but i have some problem during open some file use php. the owner of windows pc just give me a phisycal file location to open aome DB file. actually i need to open that DB from path.

how do i do to search path and file use teminal?

link|improve this question

75% accept rate
WTF is "linux terminal"? Your question is very unclear. Also accessing databases using file i/o across a network is going to cause problems - particulalry for a web application – symcbean Nov 10 '10 at 12:56
feedback

2 Answers

Something not entirely unlike

mkdir /mnt/foo
mount -t cifs -o /somepath/smbcred //123.45.6.7/share /mnt/foo
find /mnt/foo -name DB.php.or.whatever

where smbcred is a file that you create which contains

username=fred
password=jkgh%3ff-b
link|improve this answer
feedback

Sounds like you need to mount a windows share, check the smbmount man page:

man smbmount

link|improve this answer
how to use smb if i just have ip address, and user and password to access DB file? – klox Nov 10 '10 at 4:48
upvoted RedGrittyBrick's answer, he has it laid out perfectly – erimar77 Nov 10 '10 at 15:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.