Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-11 00:21:25 +00:00
parent c39b4c5f19
commit 3bbcd70636
19 changed files with 93 additions and 39 deletions

View File

@@ -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}}`