Sponsored Content
Full Discussion: accesing a value
Top Forums Shell Programming and Scripting accesing a value Post 302197555 by satish@123 on Wednesday 21st of May 2008 07:16:42 AM
Old 05-21-2008
Java accesing a value

hi

while [ $count -lt $var ]
do
if [ $count = 0 ]
then
echo QManager Name $1
fi
if [ $count = 1 ]
then
echo Cluster Name$2
fi
if (( $count != 0 && $count != 1 ))
then
echo Queue Name `$($count)`
fi

count=`expr $count + 1`
done

when i run this i am getting an error
command not found Queue Name

please help
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Finding users currently accesing a directory

Is there any command/script to find a list of all users accessing a particular directory (from all machines on the network??) (3 Replies)
Discussion started by: mehtad
3 Replies

2. Programming

Accesing structure member:Error:dereferencing pointer to incomplete type

$ gcc -Wall -Werror struct.c struct.c: In function `main': struct.c:18: error: dereferencing pointer to incomplete type $ cat struct.c #include <stdio.h> #include <stdlib.h> #include <string.h> /*Declaration of structure*/ struct human { char *first; char gender; int age; } man,... (3 Replies)
Discussion started by: amit4g
3 Replies
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy