About 41,800,000 results
Open links in new tab
  1. What is the difference between grep -e and grep -E option?

    In GNU grep, there is no difference in available functionality between basic and extended syntaxes. In other implementations, basic regular expressions are less powerful.

  2. grep (1) - Linux manual page - man7.org

    This enables a calling process to resume a search. When grep stops after NUM matching lines, it outputs any trailing context lines. When the -c or --count option is also used, grep does not output a …

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

    Aug 2, 2007 · To match a character that is special to egrep or grep -E, a a backslash (\) in front of the character. It is usually simpler to use grep -F when you don’t need special pattern matching.

  4. Mastering the `grep -e` Command in Linux — linuxvox.com

    Nov 14, 2025 · grep is a command-line utility in Linux used for searching text. It searches for lines that match a given pattern and outputs those lines. The name grep comes from the ed command g/re/p …

  5. 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 matching lines on your …

  6. grep (1): print lines matching pattern - Linux man page

    This switch causes grep to report byte offsets as if the file were a Unix-style text file, i.e., with CR characters stripped off. This will produce results identical to running grep on a Unix machine.

  7. 16 grep Command Examples to Help You in Real-World - Geekflare

    Dec 23, 2024 · grep enables you to search for the given pattern not just in one but multiple files. Here’s how you can look for a pattern in multiple files by using * wildcard.

  8. Examples using grep - Linux Documentation Project

    If the final byte of an input file is not a newline, grep silently supplies one. Since newline is also a separator for the list of patterns, there is no way to match newline characters in a text.

  9. Grep Command in Linux Explained with Practical Examples

    Nov 18, 2025 · This tutorial explains how to use the grep command to perform basic system administration-related tasks through examples.

  10. grep command in Linux: Syntax, Usage, and Examples - Intellipaat

    Dec 1, 2025 · The -e option in the grep command in Linux allows you to define multiple search patterns (expressions) and is useful when you want to match more than one pattern in a single grep command.