mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 15:52:12 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# alsamixer
|
||||
|
||||
> Graphical mixer for ALSA soundcard driver.
|
||||
> More information: <https://manned.org/man/alsamixer>.
|
||||
> More information: <https://manned.org/alsamixer>.
|
||||
|
||||
- Select the soundcard to use:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cpuid
|
||||
|
||||
> Display detailed information about all CPUs.
|
||||
> More information: <https://manned.org/man/cpuid.1>.
|
||||
> More information: <https://manned.org/cpuid.1>.
|
||||
|
||||
- Display information for all CPUs:
|
||||
|
||||
|
||||
@@ -12,32 +12,32 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`sudo dnf upgrade`
|
||||
`sudo dnf {{[up|upgrade]}}`
|
||||
|
||||
- Search packages via keywords:
|
||||
|
||||
`dnf search {{keyword1 keyword2 ...}}`
|
||||
`dnf {{[se|search]}} {{keyword1 keyword2 ...}}`
|
||||
|
||||
- Display details about a package:
|
||||
|
||||
`dnf info {{package}}`
|
||||
`dnf {{[if|info]}} {{package}}`
|
||||
|
||||
- Install a new package (use `-y` to confirm all prompts automatically):
|
||||
- Install a new package (use `--assumeyes` to confirm all prompts automatically):
|
||||
|
||||
`sudo dnf install {{package1 package2 ...}}`
|
||||
`sudo dnf {{[in|install]}} {{package1 package2 ...}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`sudo dnf remove {{package1 package2 ...}}`
|
||||
`sudo dnf {{[rm|remove]}} {{package1 package2 ...}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`dnf list --installed`
|
||||
`dnf {{[ls|list]}} --installed`
|
||||
|
||||
- Find which packages provide a given command:
|
||||
|
||||
`dnf provides {{command}}`
|
||||
`dnf {{[wp|provides]}} {{command}}`
|
||||
|
||||
- View all past operations:
|
||||
|
||||
`dnf history`
|
||||
`dnf {{[hist|history]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnf config-manager
|
||||
|
||||
> Manage DNF configuration options and repositories on Fedora-based systems.
|
||||
> More information: <https://manned.org/dnf-config-manager>.
|
||||
> More information: <https://dnf-plugins-core.readthedocs.io/en/latest/config_manager.html>.
|
||||
|
||||
- Add (and enable) a repository from a URL:
|
||||
|
||||
|
||||
12
tldr/linux/dnf-deplist
Normal file
12
tldr/linux/dnf-deplist
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dnf deplist
|
||||
|
||||
> This command is an alias of `dnf repoquery --deplist`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr dnf repoquery`
|
||||
@@ -6,24 +6,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnf group
|
||||
|
||||
> Manage virtual collections of packages on Fedora-based systems.
|
||||
> More information: <https://manned.org/dnf-group>.
|
||||
> More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#group-command>.
|
||||
|
||||
- List DNF groups, showing installed and uninstalled status in a table:
|
||||
|
||||
`dnf group list`
|
||||
`dnf {{[grp|group]}} list`
|
||||
|
||||
- Show DNF group info, including repository and optional packages:
|
||||
|
||||
`dnf group info {{group_name}}`
|
||||
`dnf {{[grp|group]}} info {{group_name}}`
|
||||
|
||||
- Install DNF group:
|
||||
|
||||
`dnf group install {{group_name}}`
|
||||
`dnf {{[grp|group]}} install {{group_name}}`
|
||||
|
||||
- Remove DNF group:
|
||||
|
||||
`dnf group remove {{group_name}}`
|
||||
`dnf {{[grp|group]}} remove {{group_name}}`
|
||||
|
||||
- Upgrade DNF group:
|
||||
|
||||
`dnf group upgrade {{group_name}}`
|
||||
`dnf {{[grp|group]}} upgrade {{group_name}}`
|
||||
|
||||
13
tldr/linux/dnf-repoquery
Normal file
13
tldr/linux/dnf-repoquery
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dnf install
|
||||
|
||||
> Query packages for information.
|
||||
> More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#repoquery-command>.
|
||||
|
||||
- Query a package for its dependencies:
|
||||
|
||||
`dnf {{[rq|repoquery]}} --deplist {{package}}`
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all genres:
|
||||
|
||||
`id3v2 {{-L|--list-genres}}`
|
||||
`id3v2 {{[-L|--list-genres]}}`
|
||||
|
||||
- List all tags of specific files:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ntpq
|
||||
|
||||
> Query the Network Time Protocol (NTP) daemon.
|
||||
> More information: <https://manned.org/man/ntpq.1>.
|
||||
> More information: <https://manned.org/ntpq.1>.
|
||||
|
||||
- Start `ntpq` in interactive mode:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pokego
|
||||
|
||||
> Displays Pokémon sprites in color directly in your terminal.
|
||||
> Display Pokémon sprites in color directly in your terminal.
|
||||
> Inspired by Phoney badger's `pokemon-colorscripts` but offers enhanced speed and efficiency.
|
||||
> More information: <https://github.com/rubiin/pokego>.
|
||||
|
||||
|
||||
@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List available licenses:
|
||||
|
||||
`proctl {{-ll|-list-licenses}}`
|
||||
`proctl {{[-ll|-list-licenses]}}`
|
||||
|
||||
- List available languages:
|
||||
|
||||
`proctl {{-lL|-list-languages}}`
|
||||
`proctl {{[-lL|-list-languages]}}`
|
||||
|
||||
- Pick a license in a FZF menu:
|
||||
|
||||
`proctl {{-pl|-pick-license}}`
|
||||
`proctl {{[-pl|-pick-license]}}`
|
||||
|
||||
- Pick a language in a FZF menu:
|
||||
|
||||
`proctl {{-pL|-pick-language}}`
|
||||
`proctl {{[-pL|-pick-language]}}`
|
||||
|
||||
- Remove all licenses from the current project:
|
||||
|
||||
`proctl {{-r|-remove-license}}`
|
||||
`proctl {{[-r|-remove-license]}}`
|
||||
|
||||
- Create a new license template:
|
||||
|
||||
`proctl {{-t|-new-template}}`
|
||||
`proctl {{[-t|-new-template]}}`
|
||||
|
||||
- Delete a license from templates:
|
||||
|
||||
`proctl {{-R|-delete-license}} {{@license_name1 @license_name2 ...}}`
|
||||
`proctl {{[-R|-delete-license]}} {{@license_name1 @license_name2 ...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`proctl {{-h|-help}}`
|
||||
`proctl {{[-h|-help]}}`
|
||||
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set or unset a SELinux boolean. Booleans allow the administrator to customize how policy rules affect confined process types (a.k.a domains):
|
||||
|
||||
`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}`
|
||||
`sudo semanage boolean {{[-m|--modify]}} {{--on|--off}} {{haproxy_connect_any}}`
|
||||
|
||||
- Add a user-defined file context labeling rule. File contexts define what files confined domains are allowed to access:
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to `setenforce`:
|
||||
|
||||
`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}`
|
||||
`sudo semanage permissive {{--add|--delete}} {{httpd_t}}`
|
||||
|
||||
- Output local customizations in the default store:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# steamos-factory-reset-config
|
||||
|
||||
> Generates configuration files required by `steamos-factory-reset`.
|
||||
> Generate configuration files required by `steamos-factory-reset`.
|
||||
> This command is typically called internally and not meant to be run manually.
|
||||
> More information: <https://gitlab.com/users/evlaV/projects>.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user