The UNIX and Linux Forums  

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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
read is not pausing to read davegerdt Shell Programming and Scripting 3 04-07-2008 07:20 AM
Post Shell programming: Question about source a file and read data from the file ccwq Shell Programming and Scripting 3 08-04-2007 07:28 PM
ls while read loop - internal read picking up wrong input dkieran Shell Programming and Scripting 2 05-14-2007 12:02 PM
Cannot read in variable using read on first try normie UNIX for Advanced & Expert Users 1 10-04-2005 10:42 PM
read line and read next ariuscy UNIX for Dummies Questions & Answers 7 09-21-2005 04:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2007
Registered User
 

Join Date: Jul 2007
Posts: 53
read the source name

Hi I'm trying to write a script in which,if i log onto a particular server,the script should automatically find the server i'm on (which is the source server).We can find it frm the path /transfer/common/utilities/env_params.txt

please help me as to how start with this,shall i use the read cmmnd or any ideas...................pls urgent help needed
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-18-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
What do you mean "the source"?

The only two clues you would have are

tty and $DISPLAY

and that is all they are, clues.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0