I want to execute this command sudo chgrp -R tomcat /opt/tomcat
, but I get :
No command 'sudo' found, did you mean:
Command 'sudo' from package 'sudo-ldap' (universe)
Command 'sudo' from package 'sudo' (main)
sudo: command not found
How should I change permissions in this case?
You have several possibilities:
sudo
by apt-get install sudo
(run it from root account)su -c "chgrp -R tomcat /opt/tomcat"