grep
ack
sed
-x
- Select only those matches that exactly match the whole line.
Check if a line exists
Returns 0 or 1 exit codes
cat filelist | grep -xq string
Return line number
cat filelist -n string