How can one use
sudo, without typing
sudo more than once per
By that I mean that you'll be asked to type your password each 15 minutes after the last command you executed, while executing commands within this time (within this "grace period") will restart the timeout.
- You boot the system.
- You execute any command whatsoever.
- Immediately after that, you are being asked to fill in your password.
- The command is executed.
- If 15 minutes passed and you haven't typed any command (say, you suddenly had to leave the PC), you will be prompted for your password again.
This could save typing the word
sudo instead typing it tens if not hundreds of times a day (not always you run scripts as