mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-03 15:40:17 +00:00
Add additional dpkg
examples
This commit is contained in:
parent
74c8191b3c
commit
476cf1ee98
@ -1,3 +1,12 @@
|
||||
# Display the package(s) in which the given file would be found. This is very
|
||||
# useful, because it lets you know to which package a file belongs.
|
||||
dpkg -S /usr/bin/awk
|
||||
|
||||
# Where FILE is the provided Debian package to install, so instructed by `-i`.
|
||||
dpkg -i [FILE]
|
||||
|
||||
# List Debian packages currently installed.
|
||||
dpkg --get-selections
|
||||
|
||||
# List Debian packages installed and in other states, such as not-yet-purged.
|
||||
dpkg -l
|
||||
|
Loading…
Reference in New Issue
Block a user