Useful Linux commands
Login web - admin SSH - root Password: Rasp4icu
Read the log
logread | grep poll_apiPrint log in realtime
logread -f | grep poll_apiEmpty log
logread -cMake the file executable
chmod +x /usr/bin/poll_api.shRestart
rebootCheck for hidden extensions like .sh.txt:
ls -la /usr/bin/ | grep pollIf you see ^M at the ends of lines, it's using Windows line endings — and the fix below will resolve it.
cat -A /usr/bin/poll_api.sh
If there’s a syntax error early in the file, it might prevent execution. Try running:
sh /usr/bin/poll_api.shIf this works, the file is fine but might be missing the #!/bin/sh line.
Remove extra characters Run this command to clean the file:
Last updated
