How to use grep to search for strings in files

preview_player
Показать описание
This video covers Searching of a string using grep command in Linux.
Command Used :
1. grep -Rw /etc -e 'ubuntu'
2. grep -Rnw /etc -e 'ubuntu'

Subscribe our channel for more tech stuff.
Рекомендации по теме
Комментарии
Автор

Brother can you tell me a command to grep a a filename contain only string1 with string 2 and not only string 1 or string 2.

UDCOOLBUDDY