0

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?

klox
  • 197
  • 1
  • 2
  • 7
  • 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

2 Answers2

2

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
RedGrittyBrick
  • 3,832
  • 1
  • 17
  • 23
0

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

man smbmount

erimar77
  • 488
  • 2
  • 8