Nibbles machine root question

hi
In the nibble machine , there is a monitor.sh file that can be run as root,
solutions for executing it were to add su to the monitor.sh and run it with sudo
su >> monitor.sh
sudo …/…monitor. sh

why do i need to add su first , why just run it with sudo wont work ?

tnx

Type your comment