Is there a way to get sunrise and sunset time from command interpreter?
I want to use its output for a script!
in case you're looking for a possibility to execute commands at sunset and/or sunrise, I use remind for this (apt install remind) to trigger my roller blinds. Pro: Does not rely on any external web service.