03-24-2007
Thanks alot Nagarajan Ganesan,
one more doubt: shall i delete the files (which are existing already) in develop ment server from production only.
i donot go to development server and delete the files.so i want this whole process is done from production server to development server only.
thanks advance for understanding
regards
krishna
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to know how to successfully back up(and compress) files from a local machine to a remote host.
Will this work?
tar -cvf backup.tar -C /user/somedir | gzip backup.tar | rsh some.domain.com/user/somedir
thanks in advance! (3 Replies)
Discussion started by: WeNdeL
3 Replies
2. Solaris
Hi,
I´m having a problem here. I have a directory that holds many subdirs and files (by many I mean MANY thousands).
What I want to do is make blocks of these files and transfer them block by block to a remote host; but once a given file is already placed in the remote host, the script must... (0 Replies)
Discussion started by: Dago
0 Replies
3. Shell Programming and Scripting
I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies
4. Shell Programming and Scripting
Gurus/Experts
We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me... (6 Replies)
Discussion started by: anjum.suri
6 Replies
5. UNIX for Advanced & Expert Users
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.
When I do a who -m from A2, I see the "connected from" as "A1".
=> who -m
userid pts/2 2010-03-27 08:47 (A1)
I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies
6. UNIX for Dummies Questions & Answers
Hello....
I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.
I don't have space on the used... (16 Replies)
Discussion started by: blaine.miller
16 Replies
7. Shell Programming and Scripting
Hi.
I'm trying to speed up an rsync command by running it in parallel. There's no real option for this other than if the files are in multiple directories (which they're not). And even then there's no way of knowing if rsync has succeeded as the process is running in the background .. and... (4 Replies)
Discussion started by: Big_Jeffrey
4 Replies
8. Shell Programming and Scripting
Hi friends,
i need to prepare a script ( in perl)
i have a file called "demo.exe" in my local unix host.
i have a list of remote hosts in a file "hosts.txt"
now i need to push "demo.exe" file to all the hosts in "hosts.txt" file.
for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies
9. Shell Programming and Scripting
Hi,
Given addresses of 2 remote machines, using a shell script is it possible to
get the state of running processes in "src"
stop all the processes in "src"
exit out of "src"
ssh into "dest"
resume the state of executing processes captured in step 1 in "dest"
Assumption:
"src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies
10. Shell Programming and Scripting
I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command.
Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles"
rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT FREEBSD
prefix
PREFIX(1) General Commands Manual PREFIX(1)
NAME
prefix - Script that allows you to reconfigure environment variables for multiple installations of a set of software installed on the same
machine
SYNOPSIS
prefix
DESCRIPTION
It is assumed that the software for each installation is all under a single directory whose name is assigned to an environment variable
called PREFIX.
This arrangement of enabling multiple installations of software on a single machine is useful at many times. On a single server, it can
provide for development, test, and production installations of software. Alternatively, on development servers, it allows for multiple
development "sandboxes", one for each developer. On production servers, it allows for multiple versions of the production software to be
installed. One might be the currently running software, one the previous software kept online as a fall-back, and one a new release of
software wich is scheduled to be brought online soon.
There are three usages of the prefix script:
(1) The interactive usage should be placed as the last line
of a user's ".profile". The user must be running the
Korn shell (ksh) or the Bourne Again shell (bash).
The user is prompted to enter one of the known PREFIX locations,
specified in the $HOME/.prefixes file or the /etc/prefixes file.
During configuration, the $PREFIX/.prefixrc file is sourced
in order to accomplish environment-specific configurations.
(2) The non-interactive user configuration does not consult
$HOME/.prefixes or /etc/prefixes or prompt the user, but merely
configures the environment in accordance with the cmd line argument.
(3) The batch command usage is mainly for running commands from
cron or running commands in another environment without changing
to that environment.
Usage (1): . prefix (sets up environment)
(2): . prefix <prefix> (non-interactive setup)
(3): prefix <prefix> <cmd> <args> (runs cmd configured for PREFIX)
This manual page was written for the Debian distribution because the original program does not have a manual page.
AUTHOR
Prefix was written by Stephen Adkins <spadkins@gmail.com>, and is part of the App-Options distribution.
This manual page was written by Jotam Jr. Trejo <jotamjr@debian.org.sv>, for the Debian systems (but may be used by others).
Oct 07, 2010 PREFIX(1)