I would like to check with grep in this configuration file:
{
"alt-speed-down": 200,
"alt-speed-enabled": true,
"alt-speed-time-begin": 1140,
"alt-speed-time-day": 127,
"...something..." : true,
...
}
"alt-speed-enabled" (the third line of the file) is setted to true. I have tried this:
if grep ""alt-speed-enabled": false" /home/ciro314/.config/transmission/settings.json -c; then
zenity --info --text "MESSAGE" &
fi
it does not work because of the "" . Could anybody helpme, please?