reboot command not found

i am getting reboot command is not found when i try to reboot my pc using reboot command.
can anyone help me with this issue please?

Thanks in Advance,
mahendra

[QUOTE=mahendra123;56162]i am getting reboot command is not found when i try to reboot my pc using reboot command.
can anyone help me with this issue please?

Thanks in Advance,
mahendra[/QUOTE]
Hi and welcome to the Forum :slight_smile:
You can use the ‘which’ command to find it;

which reboot
/sbin/reboot

ls -la /sbin/reboot
lrwxrwxrwx 1 root root 18 Oct 31 11:39 /sbin/reboot -> /usr/bin/systemctl

How are you trying to reboot? Are you root user? You haven’t modified your root user path by chance?

echo $PATH

/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin