10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I Have to check two condition in while loop every 2 minutes. while loop is accompanied with number of times it will check.Please help in putting the two condition in while loop as appropriate.
z= input value,
1.check the file output,if the file output is N then keep on... (2 Replies)
Discussion started by: netdbaind
2. Shell Programming and Scripting
Please excuse me for opening a new thread i am unable to find out the syntax error
in my if else condition inside for loop in awk command ,
my actual aim is to print formatted html td tag when if condition (True) having string as "failed",
could anyone please advise what is the right... (2 Replies)
Discussion started by: karthikram
3. Shell Programming and Scripting
I'm stuck with this script for three days now. Here's what i need.
I need to split a large delimited (,) file into 2 files based on the value present in the last field.
I need this split... (6 Replies)
Discussion started by: shell_boy23
4. Shell Programming and Scripting
I want to compare values of two variables as CHECK condition in a while loop.
echo " $var1 "
var1=`expr $var1 + 1`
However this is giving error.How to do it in a proper manner?
Thanks. (3 Replies)
Discussion started by: dashing201
5. Shell Programming and Scripting
I have variables like
if loop i am trying to check the condition
if(variable == "var") then
endif (0 Replies)
Discussion started by: vasanth.vadalur
6. Shell Programming and Scripting
I'm trying to understand if it's possible to create a set of variables that are numbered based on another variable (using eval) in a loop, and then call on it before the loop ends.
As an example I've written a script called question (The fist command is to show what is the contents of the... (2 Replies)
Discussion started by: DeCoTwc
7. Shell Programming and Scripting
I have a logic like this
It initializes the flag variable as "T" at the beginning of the loop everytime
Inside each loop it checks for two conditions and updates the flag variable as "A" or "B"
In the end of the loop it checks for the value of the variable flag for "A" or "B" and execute... (4 Replies)
Discussion started by: codeman007
8. Shell Programming and Scripting
I have a for loop in my script as shown below.
for file_path in $file_list ; do
Can i restrict the number of files parsing to the variable file_path as 50?
That is, even if I have some 100 files in file_list, I need to take only 50 files for... (7 Replies)
Discussion started by: Vijay06
9. Shell Programming and Scripting
I have one clarification i am using the loop which will process for each record .suppose there is f ailure in the first record it need to send mail and process the next .my code:
defcount=`cat <filename>|wc -l`
if <some condiotion>
so... (1 Reply)
Discussion started by: ithirak17
10. Shell Programming and Scripting
I am writing a script file which sends the log files along with their size in a folder named log to a file called temp.log using the following cmd:
ls -st 190_GSTV_HUX_003QISCGSK026** >> /home/user/temp.log
the temp.log looks like this:
... (11 Replies)
Discussion started by: kiran1112