Grep [C-0000c576] /var/log/asterisk/full* grep: Invalid range end

I was used to use the grep command with the pattern provided by the Freepbx team but it’s giving the error.

grep [C-0000c576] /var/log/asterisk/full*
grep: Invalid range end

you have to escape the square brackets if you include them. Easier to just search for the string between the brackets

grep C-0000c576 /var/log/asterisk/full*

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.