|
||||||
| Linux General Any questions that are not covered by other forums go here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I often use
Code:
cat *.txt | grep <search> I need to know which files the search string was actually in. Is there a way in cat or grep to output the filename? |
| Sponsored Links |
![]() |
| Tags |
| grep |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|