Given the following script: Which of the following are true? (choose two)

Given the following script: Which of the following are true? (choose two)Category: Linux EssentialsGiven the following script: Which of the following are true? (choose two)
Linux Questions Staff asked 1 year ago

Given the following script:

while [ ! –f /tmp/foo ]; do
    echo –n “.”
    process_data > /tmp/foo
done

Which of the following are true? (choose two)

  • If a file called /tmp/foo exists, process_data won’t be run
  • The screen will fill with dots.
  • /tmp/foo will be removed if it exists
  • process_data will never be run
  • process_data will be called at most once

About the author