![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server | madhunk | UNIX for Dummies Questions & Answers | 5 | 01-31-2008 01:30 PM |
| Transfer file from local unix server to remote server | indira | HP-UX | 2 | 05-02-2007 05:15 PM |
| How to share CGI Scripts across UNIX web server? | karlsworld | UNIX for Dummies Questions & Answers | 5 | 02-06-2007 10:25 AM |
| How to share CGI Scripts across UNIX web server? | karlsworld | Shell Programming and Scripting | 1 | 02-05-2007 09:32 PM |
| How to connect unix server via web | max_san007 | UNIX for Dummies Questions & Answers | 3 | 11-17-2006 01:46 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to connect unix server to unix server through shell scripts
Hi,
I would like to connect UNIX server to UNIX server through shell scripts and i have some concepts . But i am totally confused how to connect UNIX server to UNIX server throuth running a script. It will be greatful to me if any buddy will help me. Thanks in advance. Phatan ![]() |
|
||||
|
Code:
man ssh Code:
for i in $syslist
do
ssh2 -q $i 'pr=0;flSy=" ";
for j in `bdf /claims | tail -1 | sed "s/%//g" | tr -s " " | sed "s/ /-/g"`
do
prUs=`echo $j | cut -d "-" -f5`
if [[ $prUs -ge 70 ]]
then
flSy="${flSy}`echo $j | cut -d "-" -f6`";
if [[ $pr -eq 0 ]]
then
pr=1;
fi;
fi
done;
if [[ $pr -eq 1 ]]
then
echo "`uname -n`:";
bdf $flSy
echo "-----------------------------------------------------------";
fi'
done
|
|
||||
|
Quote:
well i think it depends for what you want to connect to other machines. Is to run commands or simply copy or sync files?? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|