mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
Merge pull request #623 from rubenvereecken/master
Added dpkg-query to linux
This commit is contained in:
commit
3152a82834
1 changed files with 19 additions and 0 deletions
19
pages/linux/dpkg-query.md
Normal file
19
pages/linux/dpkg-query.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# dpkg-query
|
||||||
|
|
||||||
|
> A tool that shows information about installed packages.
|
||||||
|
|
||||||
|
- List all installed packages.
|
||||||
|
|
||||||
|
`dpkg-query -l`
|
||||||
|
|
||||||
|
- List installed packages matching a pattern.
|
||||||
|
|
||||||
|
`dpkg-query -l '{{pattern}}'`
|
||||||
|
|
||||||
|
- List all files installed by a package.
|
||||||
|
|
||||||
|
`dpkg-query -L {{package_name}}`
|
||||||
|
|
||||||
|
- Show information about a package.
|
||||||
|
|
||||||
|
`dpkg-query -s {{package_name}}`
|
Loading…
Add table
Reference in a new issue