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

apt-*: add more info links; apt-file: add regex search example #5710

Merged
merged 19 commits into from
Apr 17, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
apt-file: fix syntax for options
patricedenis committed Apr 8, 2021

Verified

This commit was signed with the committer’s verified signature.
tomaka Pierre Krieger
commit 190cfce53186ca0a97d47d8b0aba1e02cc726d59
6 changes: 3 additions & 3 deletions pages/linux/apt-file.md
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@

- Search for packages that contain the specified file or path:

`apt-file {search|find} {{part/of/filename}}`
`apt-file {{search|find}} {{part/of/filename}}`

- List the contents of a specific package:

`apt-file {show|list} {{package_name}}`
`apt-file {{show|list}} {{package_name}}`

- Search for packages that match the regular expresssion given in `pattern`:

`apt-file {search|find} --regexp {{pattern}}`
`apt-file {{search|find}} --regexp {{pattern}}`