Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/linux/dpkg-query Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# dpkg-query
> A tool that shows information about installed packages.
> More information: <https://manpages.debian.org/latest/dpkg/dpkg-query.1.html>.
- List all installed packages:
`dpkg-query --list`
- List installed packages matching a pattern:
`dpkg-query --list '{{libc6*}}'`
- List all files installed by a package:
`dpkg-query --listfiles {{libc6}}`
- Show information about a package:
`dpkg-query --status {{libc6}}`
- Search for packages that own files matching a pattern:
`dpkg-query --search {{/etc/ld.so.conf.d}}`