sudo command with no password in linux!

How to avoide repetation of sudo command in linux.

Just follow bellow steps to avoide repation.

Create file or edit if exist

    sudo visudo -f /etc/sudoers.d/90-cloudimg-ubuntu

Change username as per your suite

    # ubuntu user is default user in cloud-images.
    # It needs passwordless sudo functionality.
    ubuntu ALL=(ALL) NOPASSWD:ALL