Visit Our UNIX and Linux User Community


how to connect to windows from unix ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to connect to windows from unix ?
# 1  
Old 12-19-2005
Data how to connect to windows from unix ?

hi
i am using HP-UX and trying to write some scripting codes but i have to connect to windows and display the contents of a particular directory(in windows). how do i do it.?

Could anyone please help me regarding this !!

Thanks & Regards
guhas
# 2  
Old 12-19-2005
access windows folder from unix

guhas,

There is no concept of connecting to windows if I understand your requirement correctly. However what you need is a way of accessing certain files/folders available on a windows server while logged into unix.
Curious question though. Are the windows and UNIX running on the same machine or on different machines?
The reason as to why I ask is that, one time I had a dual boot PC running Windows 2000 and red hat linux 7.2. When I choose to login to linux at boot time, my windows drives were also visible from linux. I am not sure if this is applicable to your situation, however you may think along those lines. The other thing that I dont recall is the order of installation of the OS's. This might some impact as to what is visible where. Again I cannot gurantee the above statements.

jerardfjay
# 3  
Old 12-19-2005
If you have ux and windows both installed (u cant have both running simultaneously), then, well, as far as i know till red hat 7, u have to have windows first installed and then linux over it. windows should use FAT and not NTFS. With this setup, you can now access the windows partition by mounting it. see man mount and umount for more info on accessing this partition
If you have windows on another box, and you just want to see the directory content when u are running an ftp script on unix, then you may use the command dir on your ftp prompt
if you have some gui tool like windows explorer installed on your linux system ( recommend kde), then you can also put the address "ftp://idSmilieassword@remote/dir" in the address bar and get to this folder to view the contents
hope atleast one of the above solution applies to your case.

Previous Thread | Next Thread
Test Your Knowledge in Computers #428
Difficulty: Medium
JavaScript supports regular expressions in a manner similar to Perl.
True or False?

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Connect to Windows server from Linux

Hi, We are running Linux server and are required to connect to Windows server and fetch the files from windows server. How can i connect to Windows server from Linux? I have to do this with a automated shell script on Linux I appreciate your response. (4 Replies)
Discussion started by: reachmexyz
4 Replies

2. Shell Programming and Scripting

Connect to Windows from Linux using NetCat

Hi Need help to connect from Ubuntu to Windows using NetCat nc I can not get my script to send new-line Her is what I have tried(sleep 2 ; echo user ; sleep 1; echo pass; sleep 2; echo netstat) | nc -t 10.10.10.34 23 gives this output%'Welcome to Microsoft Telnet Service ... (1 Reply)
Discussion started by: Jotne
1 Replies

3. UNIX and Linux Applications

Trying to connect to Oracle on Windows server

Hi, I am a newbie to Linux and still trying to learn. Here is my situation. I have a windows server where I installed Oracle DB. On the same Windows server, I have a VM running linux. I can ping Windows server IP successfully from linux. I installed sqlplus on linux and trying to access... (4 Replies)
Discussion started by: rach0701
4 Replies

4. UNIX and Linux Applications

How do you setup Tectia on Windows to connect to Solaris?

I have a client that is using Tectia on Windows to connect to our Solaris machine. I am using ssh to do this. How do I go into Tectia and configure it to connect to our Solaris machine using ssh? Is there a guide somewhere because the Help for Tectia is just not cutting it? (3 Replies)
Discussion started by: jastanle84
3 Replies

5. Shell Programming and Scripting

Connect windows server

Hi All, I need to connect windows server by unix shell script then search the directory for some keyword in all files in that directory... Windows Server is \\wh01ad04 Please help me and thanks in advance (2 Replies)
Discussion started by: Pratik4891
2 Replies

6. Windows & DOS: Issues & Discussions

To Connect to Windows server from Unix server

Hi i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation". I am able to connect to this unix... (4 Replies)
Discussion started by: vidzz911
4 Replies

7. AIX

Connect to AIX via Windows hyperlink

We do not have a console for our box so we are trying to hyperlink in - does anyone know the settings? (9 Replies)
Discussion started by: vbagwell
9 Replies

8. UNIX for Advanced & Expert Users

help needed to connect to windows from unix and run .bat file

Hi Can anyone tell if it is possible to connect from Unix to t a remote windows environment and run a .bat script. Do SSH/SFTP... serve my purpose..if s how.... if not which commands or scripts will help with my requiremnt. points on this are greatly honoured. Thanks in advance. :) (1 Reply)
Discussion started by: lakshmis10
1 Replies

9. AIX

Connect from Windows Using SSH

Hi Everybody, I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)
Discussion started by: aldowsary
12 Replies

10. UNIX for Advanced & Expert Users

How do I connect windows xp to Linux Red hat unix

I just bought a new pc and my unix software is installed on my old computer. I want to take the hard disk outta my old pc and then install it on my new pc so my new pc has 2 hard drives. now, after my pc new has 2 hard drives, one being unix the other being windows xp, i want to be able to... (7 Replies)
Discussion started by: TRUEST
7 Replies

Featured Tech Videos