mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 20:01:59 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/dnf-module
Normal file
25
tldr/linux/dnf-module
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dnf module
|
||||
|
||||
> Manage package modularity.
|
||||
> More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#module-command>.
|
||||
|
||||
- View the modularity overview:
|
||||
|
||||
`dnf module list`
|
||||
|
||||
- View modularity of a specific program:
|
||||
|
||||
`dnf module list {{package_name}}`
|
||||
|
||||
- Set a package to be enabled:
|
||||
|
||||
`sudo dnf module enable {{package_name}}:{{stream}}`
|
||||
|
||||
- Enable and install a specific version:
|
||||
|
||||
`dnf module install {{package_name}}:{{stream}}`
|
||||
@@ -3,7 +3,7 @@ syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dnf install
|
||||
# dnf repoquery
|
||||
|
||||
> Query packages for information.
|
||||
> More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#repoquery-command>.
|
||||
|
||||
@@ -9,22 +9,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file.
|
||||
> More information: <https://manned.org/run-mailcap>.
|
||||
|
||||
- Individual actions/programs on run-mailcap can be invoked with action flag:
|
||||
- Invoke individual actions/programs on run-mailcap:
|
||||
|
||||
`run-mailcap --action=ACTION [--option[=value]]`
|
||||
|
||||
- In simple language:
|
||||
|
||||
`run-mailcap --action=ACTION {{filename}}`
|
||||
`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}`
|
||||
|
||||
- Turn on extra information:
|
||||
|
||||
`run-mailcap --action=ACTION --debug {{filename}}`
|
||||
`run-mailcap --action={{action}} --debug {{path/to/file}}`
|
||||
|
||||
- Ignore any "copiousoutput" directive and forward output to `stdout`:
|
||||
|
||||
`run-mailcap --action=ACTION --nopager {{filename}}`
|
||||
`run-mailcap --action={{action}} --nopager {{path/to/file}}`
|
||||
|
||||
- Display the found command without actually executing it:
|
||||
|
||||
`run-mailcap --action=ACTION --norun {{filename}}`
|
||||
`run-mailcap --action={{action}} --norun {{path/to/file}}`
|
||||
|
||||
Reference in New Issue
Block a user