mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
pacman-files: add page (#5303)
This commit is contained in:
parent
7a3f7174af
commit
392fd6b434
1 changed files with 32 additions and 0 deletions
32
pages/linux/pacman-files.md
Normal file
32
pages/linux/pacman-files.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# pacman --files
|
||||
|
||||
> Arch Linux package manager utility.
|
||||
> More information: <https://man.archlinux.org/man/pacman.8>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`pacman --files --help`
|
||||
|
||||
- Update the package database:
|
||||
|
||||
`sudo pacman --files --refresh`
|
||||
|
||||
- Find the package that owns a specific file:
|
||||
|
||||
`pacman --files {{filename}}`
|
||||
|
||||
- Find the package that owns a specific file, using a regular expression:
|
||||
|
||||
`pacman --files --regex '{{search_pattern}}'`
|
||||
|
||||
- List only the package names:
|
||||
|
||||
`pacman --files --quite {{filename}}`
|
||||
|
||||
- List the files owned by a specific package:
|
||||
|
||||
`pacman --files --list {{package_name}}`
|
||||
|
||||
- List only the absolute path to the files:
|
||||
|
||||
`pacman --query --list --quite {{package_name}}`
|
Loading…
Add table
Reference in a new issue