From 459ae43490b424c488cb4885822df49fbf8a629e Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Wed, 6 Jan 2016 13:38:13 +0100 Subject: [PATCH] Added dpkg-query to linux --- pages/linux/dpkg-query.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/dpkg-query.md diff --git a/pages/linux/dpkg-query.md b/pages/linux/dpkg-query.md new file mode 100644 index 000000000..a7e9c778e --- /dev/null +++ b/pages/linux/dpkg-query.md @@ -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}}`