IT Certification Exams

What does the lineinfile module do?

What does the lineinfile module do?

A. Allow addition of lines anywhere in a file

B. Allows to grep for lines in a provided file
C. Allow additions of lines to the end of a file only
D. Input data into a file from stdin

Explanation:
The purpose of the lineinfile module is to add lines anywhere in a file passed on a pattern.