Grep: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 August 2024

  • curprev 00:1900:19, 27 August 2024Ardika Sulistija talk contribs 1,774 bytes +1,774 Created page with "<B>grep</B> - Pretty much a search function. Prints lines matching a pattern. ----- Examples: cat [file] | grep "word" # Prints any line with "word" grep -i # Ignore case senisitivity *i is for INSENSITIVE* grep -irl [word] [dir] # Ignore case distinctions, Read all files under each directory, recursively, Suppress normal output; grep [word] [in file/dir] # Searches up "word" in that file or dir g..."