Search Results

Search: Posts Made By: AB10
17,522
Posted By Scrutinizer
Correct syntax would be: while true do if...
Correct syntax would be:
while true
do
if [ "$(ls -A "$DIR")" ]; then
sleep 10
else
break
fi
doneWhich would be equivalent to:
while [ "$(ls -A "$DIR")" ]
do
sleep 10...
Showing results 1 to 1 of 1

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