4 Replies Latest reply on Sep 3, 2020 11:37 PM by Suraj Mane

    How to extract any particular word from shell script output in Linux compliance rule in TSSA?

    Suraj Mane
      Share This:

      I'm writing a compliance rule for linux. Below is the output of the script.

      Output : [ Failed ] The file /etc/profile.d/A019.sh does not exist.


      I want to extract 'Failed' from output. Kindly suggest grammar file and compliance rule.