mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 12:54:44 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display information about a package:
|
||||
|
||||
`dpkg-deb --info {{path/to/file.deb}}`
|
||||
`dpkg-deb {{[-I|--info]}} {{path/to/file.deb}}`
|
||||
|
||||
- Display the package's name and version on one line:
|
||||
|
||||
`dpkg-deb --show {{path/to/file.deb}}`
|
||||
`dpkg-deb {{[-W|--show]}} {{path/to/file.deb}}`
|
||||
|
||||
- List the package's contents:
|
||||
|
||||
`dpkg-deb --contents {{path/to/file.deb}}`
|
||||
`dpkg-deb {{[-c|--contents]}} {{path/to/file.deb}}`
|
||||
|
||||
- Extract package's contents into a directory:
|
||||
|
||||
`dpkg-deb --extract {{path/to/file.deb}} {{path/to/directory}}`
|
||||
`dpkg-deb {{[-x|--extract]}} {{path/to/file.deb}} {{path/to/directory}}`
|
||||
|
||||
- Create a package from a specified directory:
|
||||
|
||||
`dpkg-deb --build {{path/to/directory}}`
|
||||
`dpkg-deb {{[-b|--build]}} {{path/to/directory}}`
|
||||
|
||||
Reference in New Issue
Block a user