I would like to send 2 commands to Jetson TX2 Developer Board which are ‘Turn off’ and ‘Reboot’ via serial port. I have a programme which was written C# form application for sending these two command. This programme runs on window OS base PC. I receive these 2 commands from Jetson TX2 Developer Board side over ttyTHS2 serial port in C programme. The question is how can i execute these commands in Jetson? I want to run “sudo reboot” and “sudo shutdown -r now” commands with software.