Question: I'm doing this and I get an unexpected token error near done. how can I fix this one second when the file is not present.
I'm doing this and I get an unexpected token error near done. how can I fix this

one second when the file is not present. The while loop exits when th [root@servera ]\# while [ \$(ls /var/log/sa | wc -1) -eq 0 ]; | do sleep 1s; done 7. Verify that the binary file in the /var/log/sa directory was modified wi
Step by Step Solution
There are 3 Steps involved in it
The error youre encountering is related to the syntax of the while loop The issue ... View full answer
Get step-by-step solutions from verified subject matter experts
