Search Results

Search: Posts Made By: kerrylinux
5,941
Posted By kerrylinux
integers in condition needed
I think you should make sure that your variables are proper integers.
You can use "typeset -i name=value" or "integer name=value".
Unless you use integers, your condition would not work.
24,337
Posted By kerrylinux
but while executing the script it is giving like...
but while executing the script it is giving like this:

./operating_check.ksh[68]: tmp/thread_causing_problem: cannot createSorry, a / got lost, you should write your warning message to /tmp/... of...
24,337
Posted By kerrylinux
Checking output of a command
From the top of my head I would store the output and check, if it is zero.

Something like this should work:


OUTPUT=$(cat websphere_stdout.txt |sed -n "/$val/,/\"/p")
if [[ x${OUTPUT} !=...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy