Question

I am a college student taking an intro to linux shell programming course and need some...

I am a college student taking an intro to linux shell programming course and need some help with this question.

I need to write an until statement as indicated:

Check to see if the file cis132 exists in the current directory. If it does not a message will be printed every 10 seconds indicating that file does not exist. Once the file is created the message will stop.

Thanks for your help.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
until [ -f "$cis132" ]
do
        echo "File not exist."
        sleep 10
done
Add a comment
Know the answer?
Add Answer to:
I am a college student taking an intro to linux shell programming course and need some...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT