mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 03:51:57 +00:00
Update cheatsheets
This commit is contained in:
25
linux/pkginfo
Normal file
25
linux/pkginfo
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pkginfo
|
||||
|
||||
> Query the package database on a CRUX system.
|
||||
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
|
||||
|
||||
- List installed packages and their versions:
|
||||
|
||||
`pkginfo -i`
|
||||
|
||||
- List files owned by a package:
|
||||
|
||||
`pkginfo -l {{package}}`
|
||||
|
||||
- List the owner(s) of files matching a pattern:
|
||||
|
||||
`pkginfo -o {{pattern}}`
|
||||
|
||||
- Print the footprint of a file:
|
||||
|
||||
`pkginfo -f {{path/to/file}}`
|
||||
Reference in New Issue
Block a user