Keep track of the times a script is being run
The fact: you need to know how many times a given script has been run lately. This task is quite trivial if you keep the number in a given temporary file.
Read it here
Quote:
What I am going to show you instead, is how to store the number just directly in the same script.
Oh well, not that this is too hard to do but its a nice trick that may give you an idea of how self-extracting script do work (e.g. nvidia official drivers and common linux games are shipped with this type of container).
Debian News RSS Feed
No Response to “Keep track of the times a script is being run” »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment