I just ran
cat /opt/webapplications/Word/readme.log | grep -v 'Apple'
and I got the output on the cli that I was expecting, which was all the lines in readme.log
that did not contain 'Apple
'...
Next I ran...
cat /opt/webapplications/Word/readme.log | grep -v 'Apple' > /opt/webapplications/Word/readme.log
However, /opt/webapplications/Word/readme.log
is blank.
Can anyone explain to me why this happened, or the correct way I should have gone about this?