Search Results

Search: Posts Made By: Don Cragun
10,964
Posted By Don Cragun
When I try your script with || changed to &&: ...
When I try your script with || changed to &&:
#!/bin/ksh

c=0
while [[ ! -f /tmp/unex && $c -lt 10 ]]; do
echo /tmp/unex NOT found, iter : $c;
((c = $c + 1));
sleep 2;
done...
10,964
Posted By Don Cragun
Does the file /tmp/unex exist? If it does not...
Does the file /tmp/unex exist? If it does not exist, is there some reason to think that it might be created while your script is running? If it does exist, is there some reason to think that it...
Showing results 1 to 2 of 2

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