The UNIX and Linux Forums  

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
Help in sorting echo command ahjiefreak Shell Programming and Scripting 3 03-28-2008 06:08 AM
what does echo $$ command display suri Shell Programming and Scripting 2 03-06-2007 03:01 AM
echo command result umen UNIX for Dummies Questions & Answers 2 11-10-2005 08:39 AM
Nested Loop to Echo Multiple Arrays yongho Shell Programming and Scripting 1 07-12-2005 12:35 PM
Echo Command to Tape gordbaby AIX 0 06-20-2005 04:26 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 09-16-2007
findprakash findprakash is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 31
Nested Echo Command Help

I am doing below :

$HOST_NAME1="webisstg70"

$count=1

$echo $HOST_NAME1 $count
webisstg70 1

$HOST_NAME=""

$HOST_NAME=`echo '$HOST_NAME'${count}`

$echo $HOST_NAME
HOST_NAME1

$NODE_NAME=`echo $`echo ${HOST_NAME}``

I get below error message

ksh: HOST_NAME1: not found

Could anyone please help me in identifying reason for error message. I am trying to first echo value of $HOST_NAME which itself is a variable (HOST_NAME1) so I am again echoing value of HOST_NAME1 variable to NODE_NAME variable.
 

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 08:41 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