Question

About Linux ubunt Errors

Friends, I get the following error on my Linux server. How can I fix.

sudo -u iptv /home/iptv/ligtv/restart_stream stream18

Error

sudo: /home/iptv/ligtv/restart_stream: command not found
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@kahraman451

What specifically are you trying to do? When running:

sudo -u iptv /home/iptv/ligtv/restart_stream stream18

It appears as if you’re trying to run a script, restart_stream and passing an argument, stream18, though when you do, it’s telling you that the command is not found.

If that’s correct, does:

/home/iptv/ligtv/restart_stream

… actually exist? If you run ls /home/iptv/ligtv, does that file show up?