
egrep
List of commands for egrep:
-
egrep:tldr:13e22 egrep: Search for a pattern within a file.$ egrep "${search_pattern}" ${filename}try on your machineexplain this command
-
egrep:tldr:1cf55 egrep: Print file name and line number for each match.$ egrep --with-filename --line-number "${search_pattern}" ${filename}try on your machineexplain this command
-
egrep:tldr:7a42d egrep: Search `stdin` for a pattern.$ cat ${filename} | egrep ${search_pattern}try on your machineexplain this command
-
egrep:tldr:9c456 egrep: Search for a pattern within multiple files.$ egrep "${search_pattern}" ${filename1} ${filename2} ${filename3}try on your machineexplain this command
-
egrep:tldr:dd3c1 egrep: Search for lines that do not match a pattern.$ egrep --invert-match "${search_pattern}" ${filename}try on your machineexplain this command