Because I can't get off this linux movie quote train, here is another one! Can you find the famous movie quote hidden in this linux block?

root:/# rm /i
root:/# echo "30 13 * * * /bin/bash -c 'if [ ! -f /i ]; then touch /i; fi'" | crontab -
up vote 7 down vote accepted

I think it's

I'll be back

from the movie

The Terminator

Since the script

removes the file named "i", but also ensures that it will be created again at 13.30

  • 1
    Good one. I was totally hung up on the actual time in the cron job. – Rupert Morrish Oct 17 at 20:54
  • You're right! Nice job! – Chase Gilbert Oct 17 at 22:06

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.