About Linux ubunt Errors

January 26, 2017 1.1k views
Linux Commands Apache Nginx Ubuntu

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

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


sudo: /home/iptv/ligtv/restart_stream: command not found
1 Answer


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:


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

Have another answer? Share your knowledge.