centos cancel su command code example
Example 1: centos stop apache
systemctl restart httpd.service
systemctl start httpd.service
systemctl stop httpd.service
Example 2: how to reverse sudo su
Press `Ctrl-D`
systemctl restart httpd.service
systemctl start httpd.service
systemctl stop httpd.service
Press `Ctrl-D`