Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing windows server alias name on windows or unix? Post 302178909 by NycUnxer on Wednesday 26th of March 2008 02:36:01 PM
Old 03-26-2008
Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1 to Server 2. This will cause us to have to change our scripts to now point to Server 2. Is there anyway that a systems admin on their side can create an alias/pointer name to Server 2 using the Server 1 name, so in conclusion we wouldnt have to change our unix scripts. Or can we create an alias on the unix side to point to Server 2 where any script would reference Server 1? Thanks in advance.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server

I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies

2. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

3. Shell Programming and Scripting

Perl: Sending file from UNIX server to Windows server

I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box. The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused. The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies

4. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

5. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

6. Red Hat

Changing windows xp passwd doetn't change smbpasswd on server

Hi All we have small network which is in work group environment.We have one Samba server for sharing data on network.My Problem is when user change his/her password on windows machine i have to manually update his smb passwd on Samba server.I want password should change automatically on... (2 Replies)
Discussion started by: Vaibhav.T
2 Replies

7. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

8. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies

9. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies
XDestroyWindow(3X11)						     MIT X11R4						      XDestroyWindow(3X11)

Name
       XDestroyWindow, XDestroySubwindows - destroy windows

Syntax
       XDestroyWindow(display, w)
	  Display *display;
	  Window w;

       XDestroySubwindows(display, w)
	  Display *display;
	  Window w;

Arguments
       display	 Specifies the connection to the X server.

       w	 Specifies the window.

Description
       The function destroys the specified window as well as all of its subwindows and causes the X server to generate a event for each window.
       The window should never be referenced again.  If the window specified by the w argument is mapped, it is unmapped automatically.  The
       ordering of the events is such that for any given window being destroyed, is generated on any inferiors of the window before being gener-
       ated on the window itself.  The ordering among siblings and across subhierarchies is not otherwise constrained.	If the window you speci-
       fied is a root window, no windows are destroyed.  Destroying a mapped window will generate events on other windows that were obscured by
       the window being destroyed.

       can generate a error.

       The function destroys all inferior windows of the specified window, in bottom-to-top stacking order.  It causes the X server to generate a
       event for each window.  If any mapped subwindows were actually destroyed, causes the X server to generate events on the specified window.
       This is much more efficient than deleting many windows one at a time because much of the work need be performed only once for all of the
       windows, rather than for each window.  The subwindows should never be referenced again.

       can generate a error.

Diagnostics
       A value for a Window argument does not name a defined Window.

See Also
       XChangeWindowAttributes(3X11), XConfigureWindow(3X11), XCreateWindow(3X11), XMapWindow(3X11), XRaiseWindow(3X11), XUnmapWindow(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															      XDestroyWindow(3X11)
All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy