grep
can read directly from a file, so unless you are intentionally trying to limit the input size the use of head
is unnecessary. Likewise, cat
is pointless here. The following should work:
grep "@yahoo.com" EmailList.csv > file2.csv
grep
can read directly from a file, so unless you are intentionally trying to limit the input size the use of head
is unnecessary. Likewise, cat
is pointless here. The following should work:
grep "@yahoo.com" EmailList.csv > file2.csv