mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 03:51:29 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all installed packages:
|
||||
|
||||
`dpkg-query --list`
|
||||
`dpkg-query {{[-l|--list]}}`
|
||||
|
||||
- List installed packages matching a pattern:
|
||||
|
||||
`dpkg-query --list '{{libc6*}}'`
|
||||
`dpkg-query {{[-l|--list]}} '{{libc6*}}'`
|
||||
|
||||
- List all files installed by a package:
|
||||
|
||||
`dpkg-query --listfiles {{libc6}}`
|
||||
`dpkg-query {{[-L|--listfiles]}} {{libc6}}`
|
||||
|
||||
- Show information about a package:
|
||||
|
||||
`dpkg-query --status {{libc6}}`
|
||||
`dpkg-query {{[-s|--status]}} {{libc6}}`
|
||||
|
||||
- Search for packages that own files matching a pattern:
|
||||
|
||||
`dpkg-query --search {{/etc/ld.so.conf.d}}`
|
||||
`dpkg-query {{[-S|--search]}} {{/etc/ld.so.conf.d}}`
|
||||
|
||||
Reference in New Issue
Block a user