Skip to content

Instantly share code, notes, and snippets.

@cfra
Created October 17, 2012 21:18
Show Gist options
  • Save cfra/3908251 to your computer and use it in GitHub Desktop.
Save cfra/3908251 to your computer and use it in GitHub Desktop.
Prozess A Prozess B
f = open('/var/mail/foo')
mv /var/mail/foo /var/mail/bar
cat /var/mail/bar >> /var/mail/baz
f.write(important_mail)
f.close()
rm /var/mail/bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment