mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 13:58:58 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,28 +12,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Install a package:
|
||||
|
||||
`dpkg -i {{path/to/file.deb}}`
|
||||
`dpkg {{[-i|--install]}} {{path/to/file.deb}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`dpkg -r {{package}}`
|
||||
`dpkg {{[-r|--remove]}} {{package}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`dpkg -l {{pattern}}`
|
||||
`dpkg {{[-l|--list]}} {{pattern}}`
|
||||
|
||||
- List a package's contents:
|
||||
|
||||
`dpkg -L {{package}}`
|
||||
`dpkg {{[-L|--listfiles]}} {{package}}`
|
||||
|
||||
- List contents of a local package file:
|
||||
|
||||
`dpkg -c {{path/to/file.deb}}`
|
||||
`dpkg {{[-c|--contents]}} {{path/to/file.deb}}`
|
||||
|
||||
- Find out which package owns a file:
|
||||
|
||||
`dpkg -S {{path/to/file}}`
|
||||
`dpkg {{[-S|--search]}} {{path/to/file}}`
|
||||
|
||||
- Purge an installed or already removed package, including configuration:
|
||||
|
||||
`dpkg -P {{package}}`
|
||||
`dpkg {{[-P|--purge]}} {{package}}`
|
||||
|
||||
Reference in New Issue
Block a user