If you are working on local machine, it could become time consuming entering password after every sudo.
You can skip this by following these steps
sudo visudo
and add following at the end of file
USER ALL=(ALL) NOPASSWD: ALL
where USER is your actual username. You can see your username by entering command ‘whoami’