xxxxxxxxxx
which <executable>
#Example:
which sudo
# sudo : acronym for superuser do or substitute user do
## sudo runs an elevated prompt without a need to change your identity.
## Depending on your settings in the /etc/sudoers file :
### you can issue single commands as root or as another user.
xxxxxxxxxx
echo -e ‘devops\tALL=ALL\tNOPASSWD:\tALL’ > /etc/sudoers.d/devops
xxxxxxxxxx
sudo , which is an acronym for superuser do or substitute user do, is a command that runs an elevated prompt without a need to change your identity. Depending on your settings in the /etc/sudoers file, you can issue single commands as root or as another user.