Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - DGREP

    DGREP

    WillieBy WillieMarch 2, 2026Updated:April 16, 2026No Comments1 Min Read
     

    NAME

    dgrep, degrep, dfgrep, dzgrep — grep through files belonging to an installed Debian package  

    SYNOPSIS

    dgrep [most grep options] pattern package…

    dgrep –help  

    DESCRIPTION

    dgrep invokes grep(1) on each file in one or more installed Debian packages.

    It passes the package argument(s) to dglob(1) to retrieve a list of files in those packages. You can use POSIX regular expressions for the package names.

    If dgrep is invoked as degrep, dfgrep or dzgrep then egrep(1), fgrep(1) or zgrep(1) is used instead of grep.  

    OPTIONS

    dgrep supports most of grep(1)’s options. Please refer to your grep documentation (i.e. the manpage or the texinfo manual) for a complete listing. Only a few options are excluded because they do not conform with the intended behaviour, see the list below.  

    Options of grep that are not supported by dgrep

    -r, –recursive, -d recurse, –directories=recurse
    -d read, –directories=read
    dgrep searches only in the “normal” files of a package. It skips all directories and symlinks. Therefor the options of grep that are specific to directories are not supported.
     

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    GRUB-MKSTANDALONE

    April 20, 2026

    EVP_DigestInit

    April 20, 2026

    BASHBUG

    April 20, 2026

    XMAN

    April 20, 2026
    Top Posts

    How Provably Fair Systems Work in Sweepstakes Gaming Platforms

    March 18, 2026

    Wayland vs Xorg Adoption Trends Statistics 2026

    April 18, 2026

    How to Find File in Linux

    December 24, 2025

    How To Fix Mfc120u.dll Error on Your Windows PC

    February 10, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.