Multiple if condition

view story

http://www.unix.com – Hi, I wanted to satisfy two requirements to proceed to do a task One of them is to calculate between two metrics and the other to check one of the file not empty if the condition matches the above two, it should proceed with the task below is the snippet of it, however when i run the script the first one is getting calulated and second one does not do so ie to check if the file is empty or not if [[[ $activecountnumbers -ge $Max] && [[ -s windows.log ]] ]] Please help ---------- Post updated at 04:39 PM ---------- Previous update was at 04:36 PM ---------- I also tried this, but (HowTos)