#write to a file for all lines with "searchtext" within in error_log:
Expand|Select|Wrap|Line Numbers
- tail -f /var/error_log | grep searchtext > output.txt
Expand|Select|Wrap|Line Numbers
- tail -f /var/error_log | grep searchtext
Expand|Select|Wrap|Line Numbers
- tail -f /var/error_log > output.txt //without grep
- tail /var/error_log | grep searchtext > output.txt //without -f
thanks for the help!!