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 > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setting environment variable on a remote solaris machine using shell script eamani_sun Shell Programming and Scripting 1 05-30-2008 10:05 PM
accessing unix machine through com port manikumar UNIX for Advanced & Expert Users 0 11-08-2006 03:51 PM
set enviroment variable.. amon SUN Solaris 5 08-21-2006 07:58 PM
Accessing invidual characters in a variable name suman_jakkula Shell Programming and Scripting 2 07-31-2006 12:23 PM
Accessing X application from remote pradeep_desh UNIX for Advanced & Expert Users 6 06-01-2006 10:06 AM

 
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 02-13-2006
ElCaito ElCaito is offline
Registered User
  
 

Join Date: Feb 2006
Location: Melbourne
Posts: 11
Accessing remote machine via an enviroment variable

Hi.
Is it possible to remotely access another unix box via an enviroment variable, on another machine?

I am trying to create an environment variable $MIPSDATA which will point to a folder on another machine.

I have setup the .rhosts file and got that working on both machines (tested via a rsh).

I was trying to use this ...

setenv MIPSDATA misapptst:/data/qldmips

where 'misapptst' is referring to the remote machine...

i.e.

In .rhosts I have this line, which works via the rsh command.

misapptst mipsq

but if I try and do an $ls $MIPSDATA I get ...

ls: misapptst:/data/qldmips: No such file or directory

The directory exists, I know that for sure and it has all the permissions open for anyone to view it.

Any advice? Thanks
 

Bookmarks

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 11:12 AM.


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