-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
190 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-check (English) | ||
description: "Check for updates to Rust toolchains and `rustup`." | ||
content_hash: f9fbe098504cb0083766b638fafa81adf8fb2f92 | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup check | ||
|
||
Check for updates to Rust toolchains and `rustup`. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Check for all updates: | ||
|
||
`rustup check` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-default (English) | ||
description: "Set the default Rust toolchain." | ||
content_hash: 8ad4dda27fbc1317e03d5e747c6e45de7c263e9b | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup default | ||
|
||
Set the default Rust toolchain. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Switch the default Rust toolchain (see `rustup help toolchain` for more information): | ||
|
||
`rustup default `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-show (English) | ||
description: "Show installed toolchains, targets and the version of `rustc`." | ||
content_hash: 0359221d4048731f4e6a78779fe2b69ca28bf1e2 | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup show | ||
|
||
Show installed toolchains, targets and the version of `rustc`. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Show all information: | ||
|
||
`rustup show` | ||
|
||
- Show the active toolchain: | ||
|
||
`rustup show active-toolchain` | ||
|
||
- Show the rustup data directory: | ||
|
||
`rustup show home` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-target (English) | ||
description: "Modify a toolchain's supported targets." | ||
content_hash: 1ce698227fbde7ff1a9c3223b4859136c0bafe7c | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup target | ||
|
||
Modify a toolchain's supported targets. | ||
Without the `--toolchain` option `rustup` will use the default toolchain. See `rustup help toolchain` for more information about toolchains. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Add a target to a toolchain: | ||
|
||
`rustup target add --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">target</span> | ||
|
||
- Remove a target from a toolchain: | ||
|
||
`rustup target remove --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">target</span> | ||
|
||
- List available and installed targets for a toolchain: | ||
|
||
`rustup target list --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> | ||
|
||
- List installed targets for a toolchain: | ||
|
||
`rustup target list --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` --installed` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-toolchain (English) | ||
description: "Manage Rust toolchains." | ||
content_hash: c160fc36fe3e18ed06b271d2bd655c097dcc5846 | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup toolchain | ||
|
||
Manage Rust toolchains. | ||
See `rustup help toolchain` for more information about toolchains. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Install or update a given toolchain: | ||
|
||
`rustup install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> | ||
|
||
- Uninstall a toolchain: | ||
|
||
`rustup uninstall `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> | ||
|
||
- List installed toolchains: | ||
|
||
`rustup list` | ||
|
||
- Create a custom toolchain by symlinking to a directory: | ||
|
||
`rustup link `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">custom_toolchain_name</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/directory</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-update (English) | ||
description: "Update Rust toolchains and `rustup` itself (if not installed using a package manager)." | ||
content_hash: 5d3370e1d86a67950d156fb37bebba33f9acaef7 | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup update | ||
|
||
Update Rust toolchains and `rustup` itself (if not installed using a package manager). | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Update all installed toolchains and `rustup`: | ||
|
||
`rustup update` | ||
|
||
- Install or update a specific toolchain (see `rustup help toolchain` for more information): | ||
|
||
`rustup update `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: page | ||
title: linux/systemd-tty-ask-password-agent (English) | ||
description: "List or process pending systemd password requests." | ||
content_hash: 55dd90b7c460d1e4cde0c65c7ead399e654a1ca3 | ||
last_modified_at: 2023-09-02 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># systemd-tty-ask-password-agent | ||
|
||
List or process pending systemd password requests. | ||
More information: <https://www.freedesktop.org/software/systemd/man/systemd-tty-ask-password-agent.html>. | ||
|
||
- List all currently pending system password requests: | ||
|
||
`systemd-tty-ask-password-agent --list` | ||
|
||
- Continuously process password requests: | ||
|
||
`systemd-tty-ask-password-agent --watch` | ||
|
||
- Process all currently pending system password requests by querying the user on the calling TTY: | ||
|
||
`systemd-tty-ask-password-agent --query` | ||
|
||
- Forward password requests to wall instead of querying the user on the calling TTY: | ||
|
||
`systemd-tty-ask-password-agent --wall` |
Submodule source
updated
8 files