I am new to Perl. I want to find a string in some file and then i want the whole line which contains the string.
perl -ne 'print if m/whatever/' file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With