Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[Terminal] Terminal cat grep

Most users are using cat and grep for searching for a string in a file:

cat filename | grep search_string

But you can use grep completely without cat:

grep search_string filename

Leave a Reply

Your email address will not be published. Required fields are marked *