OnWorks favicon

dglob - Online in the Cloud

Run dglob in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dglob that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dglob - Expand package names or files matching a pattern


dglob [-a] pattern

dglob [-0] -f pattern


dglob lists packages names matching a pattern. It can also list all the files they
contain. By default dglob only searches installed packages; the -a and -n switch widens
the search (see "OPTIONS"). The list is written to stdout, one name per line.

grep-dctrl(1) and grep-aptavail(1) are used to search the list of packages, so you should
refer to its documentation for information on how patterns are matched. By default, all
packages whose name contains the given string will be matched, but several options are
available to modify this behavior (see "OPTIONS").

If you use dglob with the -f option, all files in the matched packages are listed instead
of their names. If you do not use de -a switch, only existing, plain (i.e. no symlinks,
directories or other special ones) files are listed. If the -a switch is use then all
files will be listed both for installed and non-installed packages. The filenames are
written to stdout, one file per line. You can use the -0 option to get the filenames
separated by '\0' instead of a newline.


dglob supports the following options:

-a Search through all available packages, not just installed ones. If set,
grep-aptavail(1) is used.

-n Search through all the available packages but not including installed ones. If set,
grep-aptavail(1) is used.

-f List all files in the matched packages. By default, this lists only installed (i.e.
locally existing) files from installed packages. If used together with -a then it will
list all files both of installed and non-installed packages by mean of apt-file(1). If
apt-file is not installed, using -f together with -a is rather pointless.

-0 When listing files (with -f) use '\0' as a separator instead of a newline. When
specified without -f, this options does nothing.

-r, -e, -i, -X, -v
These options are passed directly to grep-dctrl(1) or to grep-aptavail(1) to modify
how the pattern is matched. See grep-dctrl(1).

Use dglob online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands