Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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

Something not entirely unlike

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

where smbcred is a file that you create which contains

share|improve this answer

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

man smbmount

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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