About 121,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 binary file as if it …

  2. grep Cheat Sheet - Command in Line

    With options for recursive searches, regular expressions, and output customization, grep offers flexibility for a wide range of tasks. Whether you’re filtering logs, analyzing data, or debugging code, mastering …

  3. grep command in Unix/Linux - GeeksforGeeks

    Nov 3, 2025 · Print Specific Lines from a File with grep -A prints the searched line and n lines after the result, -B prints the searched line and n lines before the result, and -C prints the searched line and n …

  4. Grep Command in Linux with Examples | Linuxize

    1 day ago · Grep searches for text patterns in files and streams. This guide covers syntax, regular expressions, recursive search, context lines, and practical examples.

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

    Aug 2, 2007 · Step-by-step guide explains how to use grep command on Linux or Unix-like operating system with plenty of practical examples to search files

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

    Sep 10, 2023 · The Linux grep command is a string and pattern matching utility that displays matching lines from multiple files. It also works with piped output from other commands.

  7. Linux Grep Command - Computer Hope

    Jun 1, 2025 · Grep, which stands for "global regular expression print," is a powerful tool for matching a regular expression against text in a file, multiple files, or a stream of input. It searches for the …

  8. grep Man Page - Linux - SS64.com

    The name grep comes from the basic ed search command: g/re/p (G lobal, R egular E xpression re search delimited by slashes, P rint). The newer grep (Global Regular Expression Print) command …

  9. GNU Grep 3.12

    Stop after the first num selected lines. If num is zero, grep stops right away without reading input. A num of −1 is treated as infinity and grep does not stop; this is the default.

  10. CS107 Searching Files For Text with grep - web.stanford.edu

    grep works like "find in file" (Ctrl-F or Command-F) search in Microsoft Word, or a search box on your computer's files and folders. The general syntax for grep is