The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
access to my server is always allowed aneuryzma Web Programming, Web 2.0 and Mashups 4 05-22-2009 04:03 PM
Can a script runned in local server access remote server? luna_soleil Shell Programming and Scripting 3 02-26-2009 05:38 PM
AIX to access MSSQL server hellboy01 AIX 0 12-17-2008 11:09 AM
x86 - cant access server as root incredible SUN Solaris 14 07-20-2008 02:26 PM
Is it possible to access from a server the database of another server. debu UNIX for Advanced & Expert Users 1 05-20-2007 06:42 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-30-2009
avi.skynet avi.skynet is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 15
Exclamation Access value from different server

Hi

my problem goes like dis

i have two linux pc

i have configure in /etc/hosts file
Code:
192.168.50.1 avinash
192.168.50.2 pradeep
.......... in pc1
so that echo $avinash and echo $pradeep will display the ip specified above

but my actual problem
being in pc2 i know the variable names "avinash" and "pradeep"
from pc2 knowing the above variable i have to access the ip specified in /etc/hosts of pc1

Please help me...

Last edited by Yogesh Sawant; 06-30-2009 at 03:46 AM.. Reason: added code tags
 

Bookmarks

Tags
fast pls

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0