Payament
Free Photos
WordPress Themes

Linux: Find text in specific files using wild cards

$> find ./ -name "<filename/wild cards>" | xargs grep -i "<text to find>" #Ex: $> find ./ -name "*.txt" | xargs grep -i "Examples" #Find all text files (*.txt) containing text 'Examples' from current path (./) and inner.
Command line for locating text in specific files using filename wild cards.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.