Estou tentando aprender scripts Bash e, por diversão, gostaria de escrever um script que monitore o httpd.service .
A construção básica é assim:
#!/bin/bash
SERVICE=httpd.service
if [ "systemctl show -p ActiveState $SERVICE | sed 's/Act...
05.09.2018 / 09:16