There is a command I run very often using compile
that must be run as sudo. I wanted to achieve something similar to the 5min caching of sudo in a shell: if I keep running the command in intervals shorter than 5min it does not prompts me for the password again.
Is there an easy way to achieve that?