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

 I'm doing this and I get an unexpected token error near

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

1 Expert Approved Answer
Step: 1 Unlock

The error youre encountering is related to the syntax of the while loop The issue ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!