Linux

Cards (2)

  • Basic Search:
    • grep 'pattern' file.txt
    • This command searches for the specified pattern in the file.txt.
  • Case-Insensitive Search:
    • grep -i 'pattern' file.txt
    • This command performs a case-insensitive search.