Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacman-f: add alias page; pacman-files: update page #14858

Merged
merged 10 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/linux/pacman-f.md
angadsgrover marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pacman -F

> This command is an alias of `pacman --files`.

- View documentation for the original command:

`tldr pacman files`
20 changes: 10 additions & 10 deletions pages/linux/pacman-files.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# pacman --files
# pacman --F
angadsgrover marked this conversation as resolved.
Show resolved Hide resolved

> Arch Linux package manager utility.
> See also: `pacman`, `pkgfile`.
> More information: <https://manned.org/pacman.8>.

- Update the package database:

`sudo pacman --files --refresh`
`sudo pacman -Fy`

- Find the package that owns a specific file:
angadsgrover marked this conversation as resolved.
Show resolved Hide resolved

`pacman --files {{filename}}`
`pacman -F {{filename}}`

- Find the package that owns a specific file, using a regular expression:
- Find the package that owns a specific file, using a regular e[x]pression:
angadsgrover marked this conversation as resolved.
Show resolved Hide resolved

`pacman --files --regex '{{regular_expression}}'`
`pacman -Fx '{{regular_expression}}'`

- List only the package names:

`pacman --files --quiet {{filename}}`
`pacman -Fq {{filename}}`

- List the files owned by a specific package:
- Give the [l]ist of files owned by a specific package:

Check failure on line 23 in pages/linux/pacman-files.md

View workflow job for this annotation

GitHub Actions / build

ist ==> is, it, its, it's, sit, list
angadsgrover marked this conversation as resolved.
Show resolved Hide resolved

`pacman --files --list {{package}}`
`pacman -Fl {{package}}`

- Display help:
- Display [h]elp:

`pacman --files --help`
`pacman -Fh`