Tag Archives: shell

sispmctl – light (on|off|toggle|state)

Hello, this is a followup to the posts sispmctl and sispmctl – using it as non root . With this script we can switch the light on and off, toggle it and check the current state. This shell script shows … Continue reading

Posted in General, Linux | Tagged , , , , , | Leave a comment

alive

Hello, sometimes it would be helpful if ping would just answer with “alive” (=> “Yes, I could ping it”) or “not alive” (=> “No answer while I was waiting”). A simple “0” (=> “alive”) or “1” (=> “not alive”) would … Continue reading

Posted in General, Linux | Tagged , , , | Leave a comment