How to disable sudo password prompt in Linux

well, sometimes i want to execute commands as super user without being asked for password each time to do that

to do that its pretty easy

open the terminal and type this command :

sudo visudo

and uncomment the following line :

# %sudo ALL=NOPASSWD: ALL

save the file by pressing escape then typing :wq and pressing enter.

from now on you will not be asked when executing the command as super user using sudo.