About 29,400,000 results
Open links in new tab
  1. grep (1) - Linux manual page - man7.org

    If TYPE is without-match, when grep discovers null input binary data it assumes that the rest of the file does not match; this is equivalent to the -I option. If TYPE is text, grep processes a …

  2. grep command in Unix/Linux - GeeksforGeeks

    Nov 3, 2025 · The grep command is one of the most useful tools in Linux and Unix systems. It is used to search for specific words, phrases, or patterns inside text files, and shows the …

  3. How to use grep command In Linux / UNIX with examples

    Aug 2, 2007 · You can force grep to ignore word case i.e match boo, Boo, BOO and all other combination with the -i option. For instance, type the following command: You will see result …

  4. grep Cheat Sheet - grep Command Line Guide

    Mar 15, 2025 · The grep command is a powerful utility for searching text using patterns. It searches for PATTERNS in each FILE and prints each line that matches a pattern. Typically, …

  5. grep Command in Linux with Examples - LinuxCapable

    Nov 17, 2025 · Learn the use of the grep command in Linux through our guide, featuring practical examples that can be applied in real-world situations.

  6. Linux Grep Command - Computer Hope

    Jun 1, 2025 · Using the -i option, grep finds a match on line 23 as well. If we have multiple files to search, we can search them all using a wildcard in our FILE name. Instead of specifying …

  7. grep Command in Linux With Examples - phoenixNAP

    Feb 29, 2024 · By default, grep prints every line from example_file2.txt that contains the pattern bare metal. Ignore Case in Grep Searches grep commands are case-sensitive. Use the -i …

  8. How to use grep (with examples) - Linux Audit

    Mar 12, 2025 · Grep is a powerful utility on Linux. Want to get more out of the tool? This article will show you how to use it including many practical examples.

  9. How to Use the grep Command on Linux - How-To Geek

    Sep 10, 2023 · Searching for Whole Words with the grep Command By default, grep will match a line if the search target appears anywhere in that line, including inside another string. Look at …

  10. grep - Wikipedia

    grep is a command-line utility for searching text for lines that match a regular expression. Its name comes from the ed command g/re/p (g lobal, r egular e xpression, p rint), which has the same …