Here is an (untested) example of how to do it. Suppose I am on 10.0.0.1, and want to copy files from the /home/fpm/from directory on 10.0.0.2 to the /home/from/to directory on 10.0.0.3, I could issue the following command:
The syntax is:
I have a file --> file1.txt
i need to copy this file to another server using FTP....the 2 servers are server1 and server2..may i know how to write a script that can do this?
thanks in advance! Im a newbie to this... (4 Replies)
Hi Guys
Say I have two servers (A & B) and two scripts (script1 & script2).
script1 will be running on server A and script2 will nbe running on server B.
Now my need is to kickoff script2 (in server B) just after finishing running script1 (in server A)
Any idea, how to achieve this?... (2 Replies)
Hi
Can any one help me for script. I need a script and this script has to execute daily to move the files.
FTP from one server to another server
EX: Sep 10 06:24 abc.txt
Sep 11 06.56 abc.txt
Sep 12 08.23 abc.txt
these files are located at a/b/c/e/f in 123 server and copy... (0 Replies)
Hi,
Can anyone help me. I am a new user in unix. I want to transfer (ftp) a file from one unix server to another server. Kindly help me.
more details:
server 1
file_name a.lst
path: :/temp
server 2
path : /develp/temp
Thanks,
Raj, (2 Replies)
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
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
LEARN ABOUT OSF1
nissetup
nissetup(8) System Manager's Manual nissetup(8)NAME
nissetup, ypsetup - Sets up the Network Information Service (NIS) environment
SYNOPSIS
/usr/sbin/nissetup
/usr/sbin/ypsetup
DESCRIPTION
The nissetup (formerly ypsetup) script configures and runs NIS on your system. You can use nissetup to initially set up your NIS configura-
tion, to change your current NIS configuration, or to remove your NIS configuration. NIS provides a distributed data lookup service for
sharing data among networked systems.
Before running nissetup, make sure that your system is connected to a local area network and that the network is configured and running.
You must know the name of your NIS domain and your system's role in the domain (master server, slave server, or client).
Security Note
You invoke nissetup from the SysMan Menu. See sysman(8) for more information.
When using the nissetup script to set up a NIS server that is running with enhanced security, you must answer yes to the question about
locking the domain name and authorized servers (the ypbind -S option). If you are setting up a master server, the server is bound to itself
(done by default). If you are setting up a slave server, the server is bound to itself done by default) and optionally to the master server
and any other slave servers.
If your system will be the master server for your NIS domain, be sure no other master exists for your domain and that the NIS database
files are in the /var/yp/src directory.
Note
Remove the root entry, if it exists, from the passwd database file.
If your system be will be a slave server or client, be sure a master server is already set up for your NIS domain.
FILES
Specifies the command pathname NIS parameters pertinent to a specific system
Default NIS Databases
In the /var/yp/src directory, the default databases are: Group database Host database Sendmail alias database Network group aliases data-
base Network database Password database Protocol database RPC database Service database
SEE ALSO
Commands: domainname(1), ypwhich(1), svcsetup(8), sysman(8), sysman_station(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8)
Files: svc.conf(4)
Networking: nis_intro(7), nis_manual_setup(7)
Network Administration
nissetup(8)