Compare commits

..

1 Commits

Author SHA1 Message Date
Darío Hereñú 3d93de7328
Update docker-compose: fix typo 2023-12-03 21:55:10 -03:00
220 changed files with 311 additions and 2822 deletions

2
.github/CODEOWNERS vendored
View File

@ -16,7 +16,7 @@
/pages/linux/ @sbrl
/*.md @sbrl @kbdharun
/.github/workflows/* @sbrl @kbdharun @sebastiaanspeck
/.github/* @sbrl @kbdharun @sebastiaanspeck
/scripts/* @sebastiaanspeck
/contributing-guides/maintainers-guide.md @sbrl @kbdharun

View File

@ -16,9 +16,9 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: '3.10'
cache: 'pip'
- uses: actions/setup-node@v4

View File

@ -203,17 +203,3 @@ Any member of the community can (and is encouraged to) propose role changes
by following the process outlined [above](#how-to-change-roles).
[Owners of the tldr-pages organization](MAINTAINERS.md#organization-owners)
can then perform the actual role changes.
## CODEOWNERS
The [`.github/CODEOWNERS` file](https://github.com/tldr-pages/tldr/blob/main/.github/CODEOWNERS) allows contributors with write access to the [tldr-pages/tldr repository](https://github.com/tldr-pages/tldr) to get automatic review request notifications for given files and directories.
If they wish to, contributors can open a pull request to add themselves to this file as desired.
Example uses include (but are not limited to):
- Contributors who speak a specific language and want to assist with reviewing translations in those specific languages.
- Contributors with specific expertise who wish to review pull requests for specific platforms.
- Contributors interested in reviewing [client specification](https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md) updates.
> [!NOTE]
> This mechanism is purely for automatic review requests for PRs and doesn't grant collaborators additional copyright over the code-owned files. View the [LICENSE](https://github.com/tldr-pages/tldr/blob/main/LICENSE.md) file for more information.

View File

@ -18,30 +18,29 @@
[license-image]: https://img.shields.io/badge/license-CC_BY_4.0-blue.svg?label=License
Contributions to the tldr-pages project are [most welcome](GOVERNANCE.md)!
All `tldr` pages are stored in Markdown right here on GitHub. Just open an issue or send a pull request, and we'll incorporate it as soon as possible.
All `tldr` pages are stored in Markdown right here on GitHub.
Just open an issue or send a pull request and we'll incorporate it as soon as possible.
To get started, please [sign](https://cla-assistant.io/tldr-pages/tldr) the
[Contributor License Agreement](https://gist.github.com/waldyrious/e50feec13683e565769fbd58ce503d4e).
> [!NOTE]
> When submitting a new command, please base your PR against the `main` branch and check if there's already a pull request in progress for it.
> When submitting a new command, please base your PR against the `main` branch, and check if there's already a pull request in progress for it.
## Guidelines
The basic format of a `tldr` page is a set of concrete usage examples.
Here are a few guidelines to get started:
1. Try to keep pages at around 5 examples. Pages can be longer or shorter when appropriate, but don't exceed the maximum of eight examples.
1. Try to keep pages at around 5 examples. Pages can be longer or shorter when appropriate, but don't exceed 8 examples.
Remember, it's OK if the page doesn't cover everything; that's what `man` is for.
2. When in doubt, keep new command-line users in mind. Err on the side of clarity rather than terseness.
For example, commands that require `sudo` should include it directly in the examples.
3. Try to incorporate the spelled-out version of single-letter options in the example's description.
The goal is to allow people to *understand* the syntax of the commands, not just *memorize* it.
4. Introduce options gradually, starting with the simplest command invocations and using more complex examples progressively.
5. Focus on details specific to the command and avoid explaining general UNIX concepts that could apply to any command
(i.e. relative/absolute paths, glob patterns/wildcards, special character escaping, ...).
4. Introduce options gradually, starting with the simplest command invocations,
and using more complex examples progressively.
5. Focus on details specific to the command, and avoid explaining general UNIX concepts that could apply to any command
(ex: relative/absolute paths, glob patterns/wildcards, special character escaping...).
These are all guidelines, not strict rules.
Use proper judgement, keeping simplicity and user-friendliness as the top priorities.
@ -52,7 +51,7 @@ When in doubt, have a look at a few existing pages :).
As a quick reference, the format of each page should match the following template:
```md
```
# command-name
> Short, snappy description.
@ -68,18 +67,12 @@ As a quick reference, the format of each page should match the following templat
`command --option1 --option2 {{arg_value}}`
```
For page descriptions, you can additionally use ``See also: `command`.`` and [subcommand reference](#subcommands).
> [!NOTE]
> While we suggest only two lines for the page description, it is acceptable to have more than two lines if it necessary to add additional information (i.e. [`pacman`](https://github.com/tldr-pages/tldr/blob/main/pages/linux/pacman.md)).
To see some examples of preexisting pages, you can look at:
- [pwd](https://github.com/tldr-pages/tldr/blob/main/pages/common/pwd.md) - one of the simplest command examples
- [tar](https://github.com/tldr-pages/tldr/blob/main/pages/common/tar.md) - page with placeholders
In our pages, we use placeholders defined as being tokens within curly brackets. For example, in `sleep {{5}}`, the user can change 5 to any number.
In our pages, we use placeholders which are defined as being tokens within curly brackets, for example `sleep {{5}}`, in this case the user can change 5 to any number.
Other examples but not limited to of our placeholder syntax are:
- `{{path/to/directory}}`
@ -91,129 +84,84 @@ refer to the [style guide](contributing-guides/style-guide.md).
## Subcommands
Many programs use subcommands for separating functionality, which may require their own separate pages.
For instance, `git commit` has its own page, as well as `git push` and many others.
To create a page for a subcommand, the program and subcommand need to be separated with a dash (`-`), so `git-commit.md` is shown when calling `tldr git commit`.
You should always add a base page (e.g. `git`) that describes the program and basic switches like `--version` or `--help`.
To let others know about the subcommand, add a note saying ``Some subcommands such as `example command` have their own usage documentation`` to the base page.
To let users know about the subcommand, add a note saying ``Some subcommands such as `example command` have their own usage documentation`` to the base page.
See these examples for reference:
- [git](pages/common/git.md)
- [git-commit](pages/common/git-commit.md)
- [aws](pages/common/aws.md)
- [aws-s3](pages/common/aws-s3.md)
* [git](pages/common/git.md)
* [git-commit](pages/common/git-commit.md)
* [aws](pages/common/aws.md)
* [aws-s3](pages/common/aws-s3.md)
## Translations
Translation of pages can be done by simply creating the corresponding page within the appropriate language-specific directory, creating that as well if it does not already exist.
> [!IMPORTANT]
> Translations of pages should be done based on the English (US) page in the `pages` directory. If the English pages doesn't exist for the command, it should be added first in a PR before creating a translation.
Language specific directories must follow the pattern `pages.<locale>`, where `<locale>` is a [POSIX Locale Name](https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html#Locale-Names) in the form of `<language>[_<country>]`, where:
- `<language>` is the shortest [ISO 639](https://en.wikipedia.org/wiki/ISO_639) language code for the chosen language (see [here](https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes) for a complete list).
- `<country>` is the two-letter [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country code for the chosen region (see [here](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) for a complete list).
- `<language>` is the shortest [ISO 639](https://en.wikipedia.org/wiki/ISO_639) language code for the chosen language (see [here](https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes) for a complete list).
- `<country>` is the two-letter [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country code for the chosen region (see [here](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) for a complete list).
The `<country>` code is optional and should only be added when it is needed. In other words, only when there is a valid reason to distinguish between a language (`ll`) and its regional dialects (`ll_CC1`, `ll_CC2`, etc.). For example, both `fr_FR` and `fr_BE` should fall under the same `pages.fr` directory since there virtually is no difference in writing between standard French and Belgian French.
> [!IMPORTANT]
> When adding a new language to `tldr`, it is suggested to add it to the [translation templates](contributing-guides/translation-templates) along with any page additions.
The `<country>` code is optional and should only be added when it is needed. In other words, only when there is a valid reason to distinguish between a language (`ll`) and its regional dialects (`ll_CC1`, `ll_CC2`, etc.). As an example, both `fr_FR` and `fr_BE` should fall under the same `pages.fr` directory, since there virtually is no difference in writing between standard French and Belgian French.
To see the current progress of all translations, you can visit <https://lukwebsforge.github.io/tldri18n/>, which provides a dynamically updated table of all pages and their translations.
Some examples of valid locale tags:
- French: `fr`.
- Chinese: `zh`.
- Chinese (Singapore): `zh_SG`.
- Portuguese (Brazil): `pt_BR`.
- French: `fr`.
- Chinese: `zh`.
- Chinese (Singapore): `zh_SG`.
- Portuguese (Brazil): `pt_BR`.
A list of translated templates for alias pages can be found [here](contributing-guides/translation-templates/alias-pages.md).
A list of translated templates for alias pages can be found in [here](contributing-guides/translation-templates/alias-pages.md).
It is acceptable for several pages to get translated in one pull request.
Pull requests that introduce translations are the exception to the single file change per Pull Request rule. It is
acceptable for several pages to be translated in one pull request.
For more information about language specific rules, refer to the [style guide](contributing-guides/style-guide.md#language-specific-rules).
### Default language for newly added pages
The default language used for pages is English (US). Pages written in English are stored in the default `pages` directory (notice the absence of a specific language tag). Although not strictly required, if you'd like to add a new page in a different language, please consider creating the English page too.
## Inclusive language
Where possible, use inclusive language in the content of pages. For example, prefer terms like "denylist"/"allowlist" instead of "blacklist"/"whitelist", "primary"/"secondary" instead of "master"/"slave", "they" instead of "him"/"her", etc.
Of course, this shouldn't sacrifice content clarity, such as when documenting tools where this terminology has specific technical meanings and its usage is central to explaining the involved concepts.
Of course, this shouldn't sacrifice content clarity, such as when documenting tools where this terminology has specific technical meanings, and its usage is central to explaining the involved concepts.
## Submitting a pull request
### Testing pages locally
Once you have written a `tldr` page, you can test its syntax locally using [`tldr-lint`](https://github.com/tldr-pages/tldr-lint).
The latest version of [NodeJS](https://nodejs.org) is required to install `tldr-lint` with the following command:
```sh
npm install --global tldr-lint
```
Once its installed, you can test your page by running the following command:
```sh
tldr-lint {{path/to/page.md}}
```
Now, you are ready to submit a pull request!
> [!TIP]
> Additionally, inside the `tldr` directory you can install the dependencies using `npm install` command and now when you commit your changes, the tests will run automatically via the pre-commit hook.
### Submitting changes
The easiest way to submit a change is to edit the page directly on the GitHub interface.
The easiest way to submit a change is to just edit the page directly on the GitHub interface.
Check out the step-by-step instructions (with screenshots) on
[GitHub Help](https://help.github.com/articles/editing-files-in-another-user-s-repository/).
Alternatively, you can do most of the process
[using Git on the command-line](contributing-guides/git-terminal.md).
> [!TIP]
> After creating a pull request, it is suggested to enable the "Allow edits by maintainers" option (This only needs to be done once the first time you create a PR). It allows maintainers to make changes to your pull request and assist you in getting it merged.
### Accepting suggestions within a pull request
The easiest way to apply suggested changes is to accept the suggestion made on your pull request. Refer to the [GitHub docs](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request) for more details.
The easiest way to apply suggested changes is to accept the suggestion made on your pull request. Refer to the [GitHub docs](https://docs.github.com/en/enterprise-server@3.2/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request) for more details.
To commit a suggestion to your pull request, click on `Commit suggestion`:
To commit a suggestion to your pull request, simply click on `Commit suggestion`:
![Commit suggestion button in Github](./images/commit-suggestion-button.png)
If you want to commit multiple suggestions, go to the "Files changed" tab and batch all suggestions. Now, click `Commit suggestions` button and enter a commit message to create a single commit.
### Commit message
For the commit message of page changes, use the following format:
For the commit message, use the following format:
`{{command}}: type of change`
<command>: type of change
Where `{{command}}` is the name of the command being modified, and `type of change` can be (but not limited to) one of the following examples:
- For a new page addition: `ls: add page`, `docker-container-rm: add alias page`
- For a page edit: `cat: fix typo`, `git-push: add --force example`
- For a new translation of an existing page: `cp: add Tamil translation`
- For a modification to the translation of an existing page: `cp: fix typo in Tamil translation`
- For related changes to several pages: `grep, find, locate: synchronize format of wildcards`
- For multiple subcommand page additions: `git-{add, push, ...}: add page`
- For modifying multiple pages in a language: `pages.<locale>/*: update pages`
---
For other cases, its suggested to follow <https://www.conventionalcommits.org/> as much as possible.
Examples:
- For a new page addition: `ls: add page`
- For a page edit: `cat: fix typo`, `git-push: add --force example`
- For a new translation of an existing page: `cp: add Tamil translation`
- For related changes to several pages: `grep, find, locate: synchronize format of wildcards`
## Licensing
This repository is licensed under the [Creative Commons Attribution 4.0 International License](LICENSE.md).
The contents of the `scripts/` directory are licensed under the [MIT license](LICENSE.md).
Any contributions to this project are governed by the

View File

@ -76,25 +76,7 @@ Your client may be able to preview a page locally using the `--render` flag:
tldr --render path/to/tldr_page.md
```
### PowerShell-Specific Rules
When documenting PowerShell commands, please take note of the following naming conventions.
- The name of the file name must be written in lowercase, such as `invoke-webrequest.md` instead of `Invoke-WebRequest.md`.
- The page title/heading must be written as-is (matching the spelling intended by Microsoft or the PowerShell module author), such as `Invoke-WebRequest` instead of `invoke-webrequest`.
- The command name and options in the examples should also be written as-is, such as `Command-Name {{input}} -CommandParameter {{value}}` instead of `command-name {{input}} -commandparameter {{value}}`.
Due to [various compatibility differences](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell) and removed Windows-specific commands in PowerShell 6.x, Ensure that the command works on between **PowerShell 5.1** (aka. the "Legacy Windows PowerShell" as installed in Windows 10 and 11), and the **latest version of the Cross-Platform PowerShell** (formerly known as PowerShell Core). If the command or its options is unavailable or contains different behavior between each version, please kindly note them in the descriptions. For example,
```md
# Clear-RecycleBin
> Clear items from the Recycle Bin.
> This command can only be used through PowerShell versions 5.1 and below, or 7.1 and above.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/clear-recyclebin>.
```
## Aliases
### Aliases
If a command can be called with alternative names (like `vim` can be called by `vi`), alias pages can be created to point the user to the original command name.
@ -124,96 +106,11 @@ Example:
- Pre-translated alias page templates can be found [here](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md).
### PowerShell-Specific Aliases
Some PowerShell commands may introduce aliases which fall into one of these three categories:
**1. Substituting an existing Windows Command Prompt (`cmd`) command**, such as `cd` aliasing to `Set-Location` with different command options. In this case, add the following alias note into the second line of the original Command Prompt command's tldr description, for example:
```md
# cd
> Display the current working directory or move to a different directory.
> In PowerShell, this command is an alias of `Set-Location`. This documentation is based on the Command Prompt (`cmd`) version of `cd`.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cd>.
- View documentation of the equivalent PowerShell command:
`tldr set-location`
```
> [!TIP]
> The "View documentation of the equivalent PowerShell command" example is optional and may be excluded if the page already has the maximum number (8) of examples.
**2. Provides a new alias but only executable in PowerShell**, such as `ni` for `New-Item`. In this case, use the [standard alias template](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md), but add the word "In Powershell," (or equivalent) to indicate that the command is exclusive to PowerShell. For example,
```md
# ni
> In PowerShell, this command is an alias of `New-Item`.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item>.
- View documentation for the original command:
`tldr new-item`
```
**3. Provides a new alias that conflicts with other programs**, most notoriously the inclusion of `curl` and `wget` as aliases of `Invoke-WebRequest` (with a non-compatible set of command options). Note that PowerShell system aliases that fall into this category are commonly exclusive to Windows.
In this case, provide a note and method to determine whether the command currently refers to a PowerShell command (by alias) or others. For example,
```md
# curl
> In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `curl` program (<https://curl.se>) is not properly installed.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
- Check whether `curl` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`:
`curl --version`
- View documentation for the original `curl` command:
`tldr curl -p common`
- View documentation for PowerShell's `Invoke-WebRequest` command:
`tldr invoke-webrequest`
```
## Option syntax
- Use **GNU-style long options** (like `--help` rather than `-h`) when they are cross-platform compatible (intended to work the same across multiple platforms).
- When documenting PowerShell commands, use **PowerShell-style long options** (like `-Help` instead of `-H`).
- When long options aren't available for a command, use **short options** instead.
- While we prefer long options, we allow special cases in commands like `pacman` where short options are widely used and preferred over the long options (for cases like these decisions will be made by the maintainers on a case-by-case basis).
- We prefer using a space instead of the equals sign (`=`) to separate options from their arguments (i.e. use `--opt arg` instead of `--opt=arg`) unless the program does not support it.
> [!NOTE]
> The goal of using long options is to make the commands easier to read and understand for non-techincal users. While it is ideal for most users, some users prefer short option for better ease of use. If the command supports both the options, we can highlight the short options using mnemonics instead.
### Short option mnemonics
Short option mnemonics are optional hints which can be added to help users understand the meaning of these short options. The assigned mnemonics should match with the ones in the command's official documentation (e.g. from `man` or `Get-Help`). For example:
```md
- [d]isplay the ins[t]allation [i]D for the current device. Useful for offline license activation:
`slmgr.vbs /dti`
- Display the current license's e[xp]i[r]ation date and time:
`slmgr.vbs /xpr`
```
Note that, in the first example, the `[d]`, `[t]`, and `[i]` characters are enclosed with square brackets to indicate that the `/dti` option of the command is a combination of "display", "installation", and "ID", respectively. Consecutive mnemonic characters can be grouped under the same square brackets, such as `e[xp]i[r]ation` instead of `e[x][p]i[r]ation`.
**Mnemonic characters must be written in a case-sensitive manner**, even when it is placed as the first character of the sentence (i.e. use `[d]isplay` instead of `[D]isplay`). This is to avoid conflicts with GNU-style command options which may interpret uppercase options differently than the lowercase ones, such as `-v` for displaying the command's `[v]ersion` number and `-V` to run the command in `[V]erbose` mode.
Option mnemonics may also be used in translations as long as the highlighted word contains similar meanings to the language (commonly English) which the command is written for. For example, `[d]ownload` in English may be translated into `[d]escargar` in Spanish, `[i]nstall` in English may be translated to `[i]nstallieren` in German, and `[a]pp` in English may be translated into `[a]plikasi` in Indonesian and Malay.
> [!NOTE]
> In cases where the character isn't present in the translated word, you can highlight the option before/next to the equivalent word or you can add the English work beside the translation inside a bracket. For example, `E[x]tract` in English maybe translated into `[x] ekstrak` or `ekstrak [x]` or `ekstrak (E[x]tract)` in Indonesian.
- Use GNU-style **long options** (like `--help` rather than `-h`) when they are cross-platform compatible (intended to work the same across multiple platforms).
- In other cases, use short options (like `-h`).
- Prefer using a space instead of the equals sign (`=`) to separate options from their arguments (i.e. use `--opt arg` instead of `--opt=arg`), unless the program does not support it.
## Placeholder syntax
@ -246,9 +143,6 @@ Keep the following guidelines in mind when choosing placeholders:
- In case of a possible reference both to a file or a directory,
use `{{path/to/file_or_directory}}`.
> [!NOTE]
> If the command is specific to Windows, use backslashes (`\`) instead, such as `{{path\to\file_or_directory}}`. Drive letters such as `C:` are optional unless if the command input requires an absolute path or specific drive letter range, such as `cd /d {{C}}:{{path\to\directory}}`.
### Extensions
- If a particular extension is expected for the file, append it.
@ -263,7 +157,7 @@ Keep the following guidelines in mind when choosing placeholders:
- If a command can take 0 or more arguments of the same kind, use an ellipsis: `{{placeholder1 placeholder2 ...}}`.
For instance, if multiple paths are expected `{{path/to/directory1 path/to/directory2 ...}}` can be used.
- If a command can take 0 or more arguments of different kinds, use an ellipsis: `{{placeholder1|placeholder2|...}}`.
If there are more than 5 possible values, you can use `|...` after the last item.
If there are more than 5 possible values use `|...` after the last item.
- It's impossible to restrict the minimum or (and) maximum placeholder count via `ellipsis`.
It's up to the program to decide how to handle duplicating values, provided syntax
@ -368,11 +262,6 @@ For example, use:
When linking pages to the Microsoft Learn links, remove the locale from the address as the website will automatically redirect to the reader's preferred locale setting. For example, Use <https://learn.microsoft.com/windows-server/administration/windows-commands/cd> instead of
<https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd>.
Additionally, if the link is related to PowerShell command documentation, remove the **documentation version indicator** (in which the version of PowerShell/module that the documentation is derived from), aka. the part of the address that starts with `?view=`.
- Use <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string> instead of <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.4>.
- Use <https://learn.microsoft.com/powershell/module/powershellget/install-module> instead of <https://learn.microsoft.com/en-us/powershell/module/powershellget/install-module?view=powershellget-1.x>.
## Language-Specific Rules
### Chinese-Specific Rules
@ -383,29 +272,29 @@ The following guidelines are applied to Chinese (`zh`) and traditional Chinese (
1. Place one space before/after English words and numbers.
- For example, use `列出所有 docker 容器` rather than `列出所有docker容器`.
- For example, use `宽度为 50 个字` rather than `宽度为50个字`.
- For example, use `列出所有 docker 容器` rather than `列出所有docker容器`.
- For example, use `宽度为 50 个字` rather than `宽度为50个字`.
2. Place one space between numbers and units **except** degrees and percentages.
- For example, use `容量 50 MB` rather than `容量 50MB`.
- For instances of degree and percentage, use `50°C` and `50%` rather than `50 °C` and `50 %`.
- For example, use `容量 50 MB` rather than `容量 50MB`.
- For instances of degree and percentage, use `50°C` and `50%` rather than `50 °C` and `50 %`.
3. No additional spaces before/after full-width punctuations.
- For example, use `开启 shell进入交互模式` rather than `开启 shell ,进入交互模式`
- For example, use `开启 shell进入交互模式` rather than `开启 shell ,进入交互模式`
4. Use full-width punctuations except for long Latin clauses.
- For example, use `嗨,你好。` rather than `嗨, 你好.`
- For example, use `嗨,你好。` rather than `嗨, 你好.`
5. Use a half-width punctuation to end a sentence when the last character is half-width.
- For example, use `将代码转化为 Python 3.` rather than `将代码转化为 Python 3。`
- For example, use `将代码转化为 Python 3.` rather than `将代码转化为 Python 3。`
6. Use precise form for technical terms, and do not use unofficial Chinese abbreviations.
- For example, use `Facebook` rather than `facebook`, `fb` or `脸书`.
- For example, use `Facebook` rather than `facebook`, `fb` or `脸书`.
In order to maintain readability and normalization, please comply with the 6 rules above as much as possible when translating pages into Chinese.
@ -416,9 +305,7 @@ For more information and examples of Chinese-specific rules, check out [*Chinese
When translating pages to Indonesian, please keep in mind that we expect `tldr` pages to be easy to read for **both types of Indonesian audiences**, which are:
1. People who prefer to use standard Indonesian technical terms as possible, such as `unduh` for `download`, `awakutu` for `debugging`, and `muat ulang` for `reboot`.
- One of the most comprehensive lists of technical terms can be found under the [BlankOn Linux project](https://dev.blankonlinux.or.id/TimPengembang/Dokumentasi/Panduan/PanduanWiki/KamusBlankOn/).
- One of the most comprehensive lists of technical terms can be found under the [BlankOn Linux project](https://dev.blankonlinux.or.id/TimPengembang/Dokumentasi/Panduan/PanduanWiki/KamusBlankOn/).
2. People who prefer to use English words as-is to describe technical terms: `download` for `download`, `debugging` for `debugging`, and `reboot` for `reboot`.
The segmentation of these audiences is clearly noted on [Firefox Public Data Report](https://data.firefox.com/dashboard/usage-behavior):

View File

@ -1,4 +1,4 @@
# apt-get
# apt
> أداة إدارة الحزم لديبيان وأوبونتو.
> ابحث عن الحزم باستخدام `apt-cache`.

View File

@ -25,7 +25,7 @@
- একটি নির্দিষ্ট সংরক্ষণ প্রকার ব্যবহার করে সংরক্ষণ করুন:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{সংরক্ষণ/এর/পথ}} {{ফাইল_অথবা_ডিরেক্টরি/এর/পথ}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{সংরক্ষণ.7z/এর/পথ}} {{ফাইল_অথবা_ডিরেক্টরি/এর/পথ}}`
- একটি সংরক্ষণের সামগ্রী তালিকা বদ্ধ করুন:

View File

@ -6,7 +6,7 @@
- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল নির্দিষ্ট স্ট্রিং এর সমান/সমান না হয়:
`[ "${{ভেরিয়েবল}}" {{=|!=}} "{{স্ট্রিং}}" ]`
`[ "${{ভেরিয়েবল}}" {{==|!=}} "{{স্ট্রিং}}" ]`
- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল [ই]কুয়াল/[ন]ট [ই]কুয়াল/[জি]টে [ল]েস [ট]হ্যান/[জি]টে [ই]কুয়াল/[ল]েস ট্রু থেকে/[ল]েস থেকে বা সমান নির্দিষ্ট সংখ্যায়:

View File

@ -25,7 +25,7 @@
- [a]rxiva un fitxer fent servir un tipus d'arxiu específic:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{camí/al/fitxer}} {{camí/al/fitxer_o_directori}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{camí/al/fitxer.7z}} {{camí/al/fitxer_o_directori}}`
- [l]lista els continguts d'un fitxer:

View File

@ -17,7 +17,7 @@
- Deté la màquina inmediatament sense contactar l'administrador de sistemes:
`halt --force`
`halt --force --force`
- Escriu l'entrada de wtpm shutdown sense aturar el sistema:

View File

@ -25,7 +25,7 @@
- [a]rchiviere mit einem bestimmten Archivtyp:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{pfad/zu/archiv}} {{pfad/zu/datei_oder_verzeichnis}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{pfad/zu/archiv.7z}} {{pfad/zu/datei_oder_verzeichnis}}`
- [l]iste den Inhalt einer Archivdatei auf:

View File

@ -6,7 +6,7 @@
- Überprüfe, ob eine bestimmte Variable gleich oder ungleich einem bestimmen String ist:
`[ "${{variable}}" {{=|!=}} "{{string}}" ]`
`[ "${{variable}}" {{==|!=}} "{{string}}" ]`
- Überprüfe, ob eine Variable gleich/ungleich/größer/kleiner/größer-gleich oder kleiner-gleich als eine bestimme Zahl ist:

View File

@ -13,20 +13,20 @@
- Zeige die IP Adresse eines Containers an:
`docker inspect --format '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{container}}`
`docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' {{container}}`
- Zeige den Pfad zur Logdatei eines Containers:
`docker inspect --format='\{\{.LogPath\}\}' {{container}}`
`docker inspect --format='{{.LogPath}}' {{container}}`
- Zeige den Namen des Images eines Containers:
`docker inspect --format='\{\{.Config.Image\}\}' {{container}}`
`docker inspect --format='{{.Config.Image}}' {{container}}`
- Zeige die Konfiguration als JSON an:
`docker inspect --format='\{\{json .Config\}\}' {{container}}`
`docker inspect --format='{{json .Config}}' {{container}}`
- Zeige alle Port Bindings:
`docker inspect --format='\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{container}}`
`docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}} {{$p}} -> {{(index $conf 0).HostPort}} {{end}}' {{container}}`

View File

@ -1,4 +1,4 @@
# g++
# gplusplus
> Kompiliere C++ Quelldateien.
> Teil der GCC (GNU Compiler Collection).

View File

@ -1,28 +0,0 @@
# ipconfig
> Zeige die Netzwerkkonfiguration von Windows an und verwalte diese.
> Weitere Informationen: <https://learn.microsoft.com/windows-server/administration/windows-commands/ipconfig>.
- Zeige eine Liste der Netzwerkadapter an:
`ipconfig`
- Zeige eine detaillierte Liste der Netzwerkadapter an:
`ipconfig /all`
- Erneuere die IP-Adressen für einen Netzwerkadapter:
`ipconfig /renew {{Adapter}}`
- Gib die IP-Adressen für einen Netzwerkadapter frei:
`ipconfig /release {{Adapter}}`
- Zeige den lokalen DNS-Cache an:
`ipconfig /displaydns`
- Entferne alle Einträge aus dem lokalen DNS-Cache:
`ipconfig /flushdns`

View File

@ -25,7 +25,7 @@
- Comprime usando un tipo de archivo comprimido específico:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archivo_comprimido}} {{ruta/al/archivo_o_directorio_a_comprimir}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archivo_comprimido.7z}} {{ruta/al/archivo_o_directorio_a_comprimir}}`
- Lista el contenido de un archivo comprimido:

View File

@ -6,7 +6,7 @@
- Comprueba si una variable dada es igual/no es igual a la cadena especificada:
`["${{variable}}" {{=|!=}} "{{cadena}}" ]`
`["${{variable}}" {{==|!=}} "{{cadena}}" ]`
- Prueba si una variable dada es [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater que o [e]qual/[l]ess que o [e]qual al número especificado:

View File

@ -1,37 +0,0 @@
# aws ec2
> Interfaz de línea de comandos (CLI) para AWS EC2.
> Provee capacidad de computacion segura y redimensionable en la nube de AWS, permitiendo mayor velociddad en el desarrollo e implementación de aplicaciones.
> Más información: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/index.html>.
- Muestra información acerca de una instancia específica:
`aws ec2 describe-instances --instance-ids {{id_instancia}}`
- Muestra información sobre todas las instancias:
`aws ec2 describe-instances`
- Muestra información sobre todos los volúmenes EC2:
`aws ec2 describe-volumes`
- Elimina un volumen EC2:
`aws ec2 delete-volume --volume-id {{id_volumen}}`
- Crea una instantánea a partir de un volumen EC2:
`aws ec2 create-snapshot --volume-id {{id_volumen}}`
- Lista las imágenes de máquina de Amazon disponibles (AMI):
`aws ec2 describe-images`
- Lista todos los comandos EC2 disponibles:
`aws ec2 help`
- Muestra la ayuda para un comando EC2 específico:
`aws ec2 {{subcomando}} help`

View File

@ -11,7 +11,7 @@
`docker compose up --detach`
- Inicia todos los contenedores y reconstruye si es ncesario:
- Inicia todos los contenedores y reconstruye si es necesario:
`docker compose up --build`

View File

@ -1,9 +1,9 @@
# git checkout
> Comprueba una rama o rutas con el árbol de trabajo.
> Comprueba una rama o rutas con el arbol de trabajo.
> Más información: <https://git-scm.com/docs/git-checkout>.
- Crea una nueva rama y se cambia a la misma:
- Crea una nueva rama y cambiarse a esta:
`git checkout -b {{nombre_de_la_rama}}`
@ -27,7 +27,7 @@
`git checkout .`
- Descarta los cambios no marcados de un archivo específico:
- Decarta los cambios no marcados de un archivo específico:
`git checkout {{nombre_del_archivo}}`

View File

@ -11,6 +11,6 @@
`git mv {{nombre_de_archivo}} {{nuevo_nombre_de_archivo}}`
- Sobrescribe el archivo en la ruta objetivo si existe:
- Sobrescribir el archivo en la ruta objetivo si existe:
`git mv --force {{archivo}} {{objetivo}}`

View File

@ -3,15 +3,15 @@
> Comprueba las solicitudes de extracción de cambios (*pull requests*) de GitHub localmente.
> Más información: <https://github.com/tj/git-extras/blob/master/Commands.md#git-pr>.
- Comprueba un pull request específica:
- Comprueba una pull request específica:
`git pr {{número_pr}}`
- Comprueba un pull request para un remoto específico:
- Comprueba una pull request para un remoto específico:
`git pr {{número_pr}} {{remoto}}`
- Comprueba un pull request a partir de su URL:
- Comprueba una pull request a partir de su URL:
`git pr {{url}}`

View File

@ -1,16 +1,16 @@
# git pull
> Obtiene rama de un repositorio remoto y lo fusiona con el repositorio local.
> Obtener rama de un repositorio remoto y fusionarlo con el repositorio local.
> Más información: <https://git-scm.com/docs/git-pull>.
- Descarga cambios del repositorio remoto por defecto y lo fusiona:
- Descargar cambios del repositorio remoto por defecto y fusionarlo:
`git pull`
- Descarga cambios del repositorio remoto por defecto y usa avance rápido (*fast forward*):
- Descargar cambios del repositorio remoto por defecto y usar avance rápido (*fast forward*):
`git pull --rebase`
- Descarga cambios de un repositorio remoto y una rama específica para fusionarlos en HEAD:
- Descargar cambios de un repositorio remoto y una rama específica para fusionarlos en HEAD:
`git pull {{nombre_remoto}} {{rama}}`

View File

@ -1,14 +1,14 @@
# git reset
> Deshace commits o desmarca cambios mediante el restablecimiento del actual HEAD de Git al estado especificado.
> Deshace commits o desmarca cambios mediante el reseteo del actual HEAD de Git al estado especificado.
> Si se pasa una ruta, funciona como "desmarcar", si se pasa el hash de un commit o una rama, funciona como "deshacer" el commit.
> Más información: <https://git-scm.com/docs/git-reset>.
- Desmarca todo:
- Desmarcar todo:
`git reset`
- Desmarca un archivo o archivos específicos:
- Desmarcar un archivo o archivos específicos:
`git reset {{ruta/al/archivo_o_archivos}}`
@ -16,7 +16,7 @@
`git reset --patch {{ruta/al/archivo}}`
- Deshace el último commit, manteniendo sus cambios, y cualquier otro cambio sin commit, en el sistema de archivo:
- Deshace el último commit, manteniendo sus cambios,y cualquier otro cambios sin commit,en el sistema de archivo:
`git reset HEAD~`
@ -24,10 +24,10 @@
`git reset --soft HEAD~2`
- Descarta cualquier cambio sin commit, marcado o no (se puede `git checkout` solo para los cambios sin marcar):
- Descartar cualquier cambio sin commit, marcado o no (se puede `git checkout` solo para los cambios sin marcar):
`git reset --hard`
- Restablece el repositorio a un commit específico y descarta a partir de este los cambios con y sin commit, y los marcados:
- Resetea el repositorio a un commit específico y descarta a partir de este los cambios con y sin commit, y los marcados:
`git reset --hard {{commit}}`

View File

@ -15,7 +15,7 @@
`helm install {{nombre_del_paquete}} {{https://example.com/charts/packagename-1.2.3.tgz}}`
- Instala un chart de helm y genera un nombre:
- Instalar un chart de helm y genera un nombre:
`helm install {{nombre_del_repositorio}}/{{nombre_del_chart}} --generate-name`

View File

@ -32,6 +32,6 @@
`kill -{{17|STOP}} {{id_del_proceso}}`
- Envía una señal `SIGUSR1` a todos los procesos con un GID (id de grupo) dado:
- Envia una señal `SIGUSR1` a todos los procesos con un GID (id de grupo) dado:
`kill -{{SIGUSR1}} -{{id_de_grupo}}`

View File

@ -1,24 +1,24 @@
# krunvm
> Utilidad basada en CLI para crear micro máquinas virtuales utilizando imágenes OCI.
> Utilidad basada en CLI para crear micro máquinas virtuales utilizando imagenes OCI.
> Más información: <https://github.com/containers/krunvm>.
- Crea una micro máquina virtual basada en Fedora:
`krunvm create {{docker.io/fedora}} --cpus {{número_de_vcpus}} --mem {{memoria_en_megabytes}} --name "{{nombre}}"`
`krunvm create {{docker.io/fedora}} --cpus {{numero_de_vcpus}} --mem {{memoria_en_megabytes}} --name "{{nombre}}"`
- Inicia una imagen específica:
- Inicia una imagen especifica:
`krunvm start "{{nombre}}"`
- Lista las imágenes existentes:
- Lista las imagenes existentes:
`krunvm list`
- Cambia una imagen específica:
- Cambia una imagen especifica:
`krunvm changevm --cpus {{número_de_vcpus}} --mem {{memoria_en_megabytes}} --name "{{nuevo_nombre}}" "{{nombre}}"`
`krunvm changevm --cpus {{numero_de_vcpus}} --mem {{memoria_en_megabytes}} --name "{{nuevo_nombre}}" "{{nombre}}"`
- Borra una imagen específica:
- Borra una imagen especifica:
`krunvm delete "{{nombre}}"`

View File

@ -11,7 +11,7 @@
`nest new {{nombre_del_proyecto}}`
- Construye un proyecto NestJS específico:
- Construye un a proyecto NestJS específico:
`nest build {{nombre_del_proyecto}}`

View File

@ -3,7 +3,7 @@
> Muestra los contenidos del directorio actual en forma de árbol.
> Más información: <http://mama.indstate.edu/users/ice/tree/>.
- Imprime archivos y directorios hasta `num` niveles de profundidad (donde 1 significa el directorio actual):
- Imprime archivos y directories hasta `num` niveles de profundidad (donde 1 significa el directorio actual):
`tree -L {{num}}`

View File

@ -4,14 +4,14 @@
> Este comando es frecuentemente utilizado para aceptar todas las confirmaciones en comandos de instalación (como apt-get).
> Más información: <https://www.gnu.org/software/coreutils/yes>.
- Retorna repetidamente "mensaje":
- Retornar repetidamente "mensaje":
`yes {{mensaje}}`
- Retorna repetidamente "y":
- Retornar repetidamente "y":
`yes`
- Acepta todas las confirmaciones que muestre el comando `apt-get`:
- Aceptar todas las confirmaciones que muestre el comando `apt-get`:
`yes | sudo apt-get install {{programa}}`

View File

@ -15,6 +15,6 @@
`apt-add-repository --update {{repositorio}}`
- Activa las fuentes de paquetes:
- Activar las fuentes de paquetes:
`apt-add-repository --enable-source {{repositorio}}`

View File

@ -1,16 +1,16 @@
# grub-mkconfig
> Genera un archivo de configuracion de GRUB.
> Generar un archivo de configuracion de GRUB.
> Más información: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html>.
- Ejecuta el comando solo e imprime la salida a `stdout`:
- Ejecutar el comando solo e imprimir la salida a `stdout`:
`sudo grub-mkconfig`
- Genera el archivo de configuración:
- Generar el archivo de configuracion:
`sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}`
- Imprime la página de ayuda:
- Imprimir la pagina de ayuda:
`grub-mkconfig --help`

View File

@ -27,6 +27,6 @@
`man --locale={{locale}} {{comando}}`
- Busca las páginas del manual que contienen la cadena indicada:
- Busca las páginas del manual que contienen la string indicada:
`man --apropos "{{cadena_a_buscar}}"`

View File

@ -1,6 +1,6 @@
# raspinfo
> Muestra información del sistema en una Raspberry Pi.
> Muestra informacion del sistema en una Raspberry Pi.
> Más información: <https://github.com/raspberrypi/utils/tree/master/raspinfo>.
- Muestra información del sistema:

View File

@ -1,8 +1,8 @@
# tcpkill
> Elimina las conexiones TCP en curso especificadas.
> Mata la conexiones TCP en curso especificadas.
> Más información: <https://manned.org/tcpkill>.
- Elimina las conexiones en curso de una interfaz, máquina y puerto indicados:
- Mata las conexiones en curso de una interfaz, máquina y puerto indicados:
`tcpkill -i {{eth1}} host {{192.95.4.27}} and port {{2266}}`

View File

@ -7,7 +7,7 @@
`thunar`
- Abre la utilidad de cambio de nombre masivo:
- Abra la utilidad de cambio de nombre masivo:
`thunar --bulk-rename`

View File

@ -13,7 +13,7 @@
- Abre una imagen en el visor de imágenes predeterminado:
`xdg-open {{ruta/a_la/imagen}}`
`xdg-open {{ruta/al/imagen}}`
- Abre un PDF en el visor de PDF predeterminado:

View File

@ -5,19 +5,19 @@
- Instala un nuevo paquete:
`yum install {{paquete}}`
`yum install {{package}}`
- Instala un nuevo paquete respondiendo sí a todas las preguntas (también trabaja con actualizaciones, útil para actualizaciones automáticas):
`yum -y install {{paquete}}`
`yum -y install {{package}}`
- Encuentra que paquete provee un archivo determinado:
`yum provides {{comando}}`
`yum provides {{command}}`
- Elimina un paquete:
`yum remove {{paquete}}`
`yum remove {{package}}`
- Muestra las actualizaciones disponibles para los paquetes instalados:

View File

@ -12,7 +12,7 @@
`as {{archivo.s}} -o {{salida.o}}`
- Genera resultados más rápidos omitiendo los espacios en blanco y el preprocesamiento de comentarios. (Solo debe usarse para compiladores de confianza):
- Genera resultados más rápido omitiendo los espacios en blanco y el preprocesamiento de comentarios. (Solo debe usarse para compiladores de confianza):
`as -f {{archivo.s}}`

View File

@ -1,6 +1,6 @@
# base64
> Codifica y decodifica usando la representación Base64.
> Codifica y decodifica usando la repesentación Base64.
> Más información: <https://www.unix.com/man-page/osx/1/base64/>.
- Codifica un archivo:

View File

@ -3,7 +3,7 @@
> Gestionar la configuración de la Protección de Integridad del Sistema.
> Más información: <https://ss64.com/osx/csrutil.html>.
- Muestra el estado de la Protección de Integridad del Sistema:
- Mstra el estado de la Protección de Integridad del Sistema:
`csrutil status`

View File

@ -1,4 +1,4 @@
# cut
# cortar
> Cortar campos sean `stdin` o archivos.
> Más información: <https://manned.org/man/freebsd-13.0/cut.1>.

View File

@ -1,4 +1,4 @@
# InternetSharing
# Compartir Internet
> Configura Internet Sharing.
> No debe invocarse manualmente.

View File

@ -25,7 +25,7 @@
- آرشیو کردن با یک فرمت خاص :
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{مسیر فایل آرشیو}} {{مسیر فایل یا دایرکتوری}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{7z.مسیر فایل آرشیو}} {{مسیر فایل یا دایرکتوری}}`
- نمایش محتویات یک فایل آرشیو :

View File

@ -6,7 +6,7 @@
- بررسی میکند که آیا یک متغییر با رشته معین برابر است یا نابرابر :
`[ "${{متغییر}}" {{=|!=}} "{{رشته}}" ]`
`[ "${{متغییر}}" {{==|!=}} "{{رشته}}" ]`
- اینکه متغییری برابر/ نابرابر/ بزرگتر از/ کوچکتر از/ برابر یا بزرگتر/ کوچکتر یا برابر با عددی است را بررسی میکند :

View File

@ -25,7 +25,7 @@
- Archiver en utilisant un algorithme de compression particulier :
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archive}} {{chemin/vers/fichier_ou_dossier}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archive.7z}} {{chemin/vers/fichier_ou_dossier}}`
- Lister le contenu d'une archive :

View File

@ -1,12 +0,0 @@
# docker diff
> Inspecte les changements apportés aux fichiers ou dossiers sur le système de fichiers d'un conteneur.
> Plus d'informations : <https://docs.docker.com/engine/reference/commandline/diff>.
- Inspecte les changements apportés à un conteneur depuis sa création :
`docker diff {{conteneur}}`
- Affiche l'aide :
`docker diff --help`

View File

@ -13,20 +13,20 @@
- Afficher l'adresse IP d'un conteneur :
`docker inspect --format '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{conteneur}}`
`docker inspect --format='{{range .NetworkSettings.Networks}} {{.IPAddress}}{{end}}' {{conteneur}}`
- Afficher le chemin du fichier journal d'un conteneur :
`docker inspect --format='\{\{.LogPath\}\}' {{conteneur}}`
`docker inspect --format='{{.LogPath}}' {{conteneur}}`
- Afficher le nom de l'image d'un conteneur :
`docker inspect --format='\{\{.Config.Image\}\}' {{conteneur}}`
`docker inspect --format='{{.Config.Image}}' {{conteneur}}`
- Afficher les informations de configuration en JSON :
`docker inspect --format='\{\{json .Config\}\}' {{conteneur}}`
`docker inspect --format='{{json .Config}}' {{conteneur}}`
- Afficher toutes les liaisons de port :
`docker inspect --format='\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{conteneur}}`
`docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}} {{$p}} -> {{(index $conf 0).HostPort}} {{end}}' {{conteneur}}`

View File

@ -1,16 +0,0 @@
# docker load
> Charge des images Docker depuis des fichiers ou `stdin`.
> Plus d'informations : <https://docs.docker.com/engine/reference/commandline/load/>.
- Charge une image Docker depuis `stdin` :
`docker load < {{chemin/vers/fichier_image.tar}}`
- Charge une image Docker depuis un fichier spécifique :
`docker load --input {{chemin/vers/fichier_image.tar}}`
- Charge une image Docker depuis un fichier spécifique en mode silencieux :
`docker load --quiet --input {{chemin/vers/fichier_image.tar}}`

View File

@ -25,7 +25,7 @@
- एक विशिष्ट संग्रह प्रकार का उपयोग करके संग्रह करें:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{संग्रह/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{संग्रह.7z/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}`
- किसी संग्रह की सामग्री को सूचीबद्ध करें:

View File

@ -1,24 +0,0 @@
# Tanda seru
> Digunakan pada Bash sebagai pengganti perintah yang sebelumnya dieksekusikan.
> Informasi lebih lanjut: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
- Jalankan perintah sebelumnya menggunakan `sudo`:
`sudo !!`
- Ambil perintah sebelumnya menurut nomor urutan yang terdapat dalam `history`:
`!{{nomor_urut}}`
- Ambil perintah sebelumnya yang kesekian:
`!-{{nomor_urut}}`
- Ambil perintah sebelumnya menurut awalan nama perintah:
`!{{awalan_perintah}}`
- Gunakan argumen/opsi perintah yang sama dengan perintah sebelumnya:
`{{perintah}} !*`

View File

@ -3,34 +3,30 @@
> Pengarsip file dengan rasio kompresi yang tinggi.
> Informasi lebih lanjut: <https://manned.org/7z>.
- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini:
- Meng[a]rsipkan sebuah file atau direktori:
`7z a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
- Enkripsi file arsip saat ini (termasuk nama-nama file yang terkandung di dalamnya):
- Mengenkripsi sebuah file arsip (termasuk nama-nama file yang terkandung di dalamnya):
`7z a {{jalan/menuju/arsip_terenkripsi.7z}} -p{{kata sandi}} -mhe=on {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip dengan mempertahankan struktur direktori asli:
- Mengekstrak sebuah file arsip dengan mempertahankan struktur direktori asli:
`7z x {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip ke dalam direktori yang ditentukan:
- Mengekstrak sebuah file arsip ke dalam direktori yang ditentukan:
`7z x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}`
- E[x]trak file arsip menuju `stdout`:
- Mengekstrak sebuah file arsip menuju `stdout`:
`7z x {{jalan/menuju/arsip.7z}} -so`
- [a]rsipkan file atau direktori menggunakan format file arsip tertentu:
- Meng[a]rsipkan file atau direktori menggunakan format file arsip tertentu:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{jalan/menuju/arsip}} {{jalan/menuju/file_atau_direktori}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
- [l]ihat daftar isi dari sebuah file arsip:
- Me[l]ihat daftar isi dari sebuah file arsip:
`7z l {{jalan/menuju/arsip.7z}}`
- Atur tingkat kompresi pada file arsip (tingkat lebih tinggi memproduksi file arsip lebih kecil dengan proses kompresi yang lebih lama):
`7z a {{jalan/menuju/arsip.7z}} -mx={{0|1|3|5|7|9}} {{jalan/menuju/file_atau_direktori}}`

View File

@ -4,34 +4,30 @@
> Serupa dengan `7z` namun mendukung lebih sedikit format file arsip dan dapat digunakan lintas sistem operasi.
> Informasi lebih lanjut: <https://manned.org/7za>.
- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini:
- Meng[a]rsipkan sebuah file atau direktori:
`7za a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
- Enkripsi file arsip saat ini (termasuk nama-nama file yang terkandung di dalamnya):
- Mengenkripsi sebuah file arsip (termasuk nama-nama file yang terkandung di dalamnya):
`7za a {{jalan/menuju/arsip_terenkripsi.7z}} -p{{kata sandi}} -mhe={{on}} {{jalan/menuju/arsip.7z}}`
`7za a {{jalan/menuju/arsip_terenkripsi.7z}} -p{{kata sandi}} -mhe=on {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip dengan mempertahankan struktur direktori asli:
- Mengekstrak sebuah file arsip dengan mempertahankan struktur direktori asli:
`7za x {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip ke dalam direktori yang ditentukan:
- Mengekstrak sebuah file arsip ke dalam direktori yang ditentukan:
`7za x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}`
- E[x]trak file arsip menuju `stdout`:
- Mengekstrak sebuah file arsip menuju `stdout`:
`7za x {{jalan/menuju/arsip.7z}} -so`
- [a]rsipkan file atau direktori menggunakan format file arsip tertentu:
- Meng[a]rsipkan file atau direktori menggunakan format file arsip tertentu:
`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
`7za a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
- [l]ihat daftar isi dari sebuah file arsip:
- Me[l]ihat daftar isi dari sebuah file arsip:
`7za l {{jalan/menuju/arsip.7z}}`
- Atur tingkat kompresi pada file arsip (tingkat lebih tinggi memproduksi file arsip lebih kecil dengan proses kompresi yang lebih lama):
`7za a {{jalan/menuju/arsip.7z}} -mx={{0|1|3|5|7|9}} {{jalan/menuju/file_atau_direktori}}`

View File

@ -4,30 +4,26 @@
> Serupa dengan `7z` namun mendukung format file arsip `.7z` saja.
> Informasi lebih lanjut: <https://manned.org/7zr>.
- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini:
- Meng[a]rsipkan sebuah file atau direktori:
`7zr a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}`
- Enkripsi file arsip saat ini (termasuk nama-nama file yang terkandung di dalamnya):
- Mengenkripsi sebuah file arsip (termasuk nama-nama file yang terkandung di dalamnya):
`7zr a {{jalan/menuju/arsip_terenkripsi.7z}} -p{{kata sandi}} -mhe={{on}} {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip dengan mempertahankan struktur direktori asli:
- Mengekstrak sebuah file arsip dengan mempertahankan struktur direktori asli:
`7zr x {{jalan/menuju/arsip.7z}}`
- E[x]trak file arsip ke dalam direktori yang ditentukan:
- Mengekstrak sebuah file arsip ke dalam direktori yang ditentukan:
`7zr x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}`
- E[x]trak file arsip menuju `stdout`:
- Mengekstrak sebuah file arsip menuju `stdout`:
`7zr x {{jalan/menuju/arsip.7z}} -so`
- [l]ihat daftar isi dari sebuah file arsip:
- Me[l]ihat daftar isi dari sebuah file arsip:
`7zr l {{jalan/menuju/arsip.7z}}`
- Atur tingkat kompresi pada file arsip (tingkat lebih tinggi memproduksi file arsip lebih kecil dengan proses kompresi yang lebih lama):
`7zr a {{jalan/menuju/arsip.7z}} -mx={{0|1|3|5|7|9}} {{jalan/menuju/file_atau_direktori}}`

View File

@ -6,7 +6,7 @@
- Ujikan apakah sebuah variabel memiliki nilai yang sama/tidak sama dengan sebuah string:
`[ "${{variabel}}" {{=|!=}} "{{string}}" ]`
`[ "${{variabel}}" {{==|!=}} "{{string}}" ]`
- Ujikan apakah sebuah variabel memiliki nilai yang sama/tidak sama/lebih besar/lebih kecil/lebih besar atau sama dengan/lebih kecil atau sama dengan sebuah angka:

View File

@ -1,32 +0,0 @@
# a2ping
> Ubah file gambar menjadi EPS atau PDF.
> Informasi lebih lanjut: <https://manned.org/a2ping>.
- Ubah sebuah gambar menjadi PDF (Catatan: Nama file output bersifat opsional):
`a2ping {{jalan/menuju/gambar.ext}} {{jalan/menuju/output.pdf}}`
- Kompres dokumen EPS atau PDF menggunakan metode tertentu:
`a2ping --nocompress {{none|zip|best|flate}} {{jalan/menuju/file}}`
- Pindai HiResBoundingBox jika ditemukan (akan dipindai secara default):
`a2ping --nohires {{jalan/menuju/file}}`
- Izinkan konten halaman berada melewati batas bawah dan kiri (tidak diizinkan secara default):
`a2ping --below {{jalan/menuju/file}}`
- Berikan opsi/argumen tambahan untuk `gs`:
`a2ping --gsextra {{argumen_tambahan_gs}} {{jalan/menuju/file}}`
- Berikan opsi/argumen tambahan untuk program lainnya (seperti `pdftops`):
`a2ping --extra {{arguments}} {{jalan/menuju/file}}`
- Tampilkan informasi bantuan:
`a2ping -h`

View File

@ -1,24 +0,0 @@
# ab
> Alat penguji server HTTP Apache.
> Informasi lebih lanjut: <https://httpd.apache.org/docs/current/programs/ab.html>.
- Jalankan 100 permintaan HTTP GET menuju alamat URL yang ditentukan:
`ab -n {{100}} {{url}}`
- Jalankan 100 permintaan HTTP GET, dikelompokkan dalam masing-masing batch berisi 10, menuju alamat URL yang ditentukan:
`ab -n {{100}} -c {{10}} {{url}}`
- Jalankan 100 perintaan HTTP POST menuju alamat URL, menggunakan data JSON yang dimuat dari file yang ditentukan:
`ab -n {{100}} -T {{application/json}} -p {{jalan/menuju/file.json}} {{url}}`
- Gunakan opsi HTTP [k]eep-Alive, yakni jalankan permintaan majemuk dalam satu sesi HTTP yang sama:
`ab -k {{url}}`
- Alokasikan wak[t]u maksimum (dalam hitungan detik) untuk mengujinya:
`ab -t {{60}} {{url}}`

View File

@ -1,24 +0,0 @@
# abduco
> Manajer sesi Terminal.
> Informasi lebih lanjut: <http://www.brain-dump.org/projects/abduco/>.
- Tampilkan sesi-sesi yang sedang aktif:
`abduco`
- Buk[A] sesi saat ini, atau buka baru jika tidak ditemukan, dengan nama yang ditentukan:
`abduco -A {{nama}} {{bash}}`
- Buk[A] sesi baru atau saat ini menggunakan `dvtm`:
`abduco -A {{nama}}`
- Keluar dari sesi:
`Ctrl + \`
- Buk[A] sesi saat ini dalam mode non-interaktif alias [r]ead-only:
`abduco -Ar {{name}}`

View File

@ -1,20 +0,0 @@
# ac
> Tampilkan statistik mengenai lama waktu pengguna sistem operasi yang terhubung.
> Informasi lebih lanjut: <https://man.openbsd.org/ac>.
- Tampilkan berapa lama pengguna saat ini telah terhubung dengan sistem operasi, dalam hitungan jam:
`ac`
- Tampilkan informasi yang sama untuk setiap pengguna:
`ac -p`
- Tampilkan informasi yang sama untuk pengguna yang ditentukan:
`ac -p {{nama_pengguna}}`
- Tampilkan informasi yang sama untuk pengguna yang ditentukan, dan dengan rincian per hari:
`ac -dp {{nama_pengguna}}`

View File

@ -1,28 +0,0 @@
# Accelerate
> Sebuah pustaka/library yang memungkinkan kode PyTorch yang sama dapat dijalankan secara menyebar.
> Informasi lebih lanjut: <https://huggingface.co/docs/accelerate/index>.
- Tampilkan informasi lingkungan proyek PyTorch saat ini:
`accelerate env`
- Buat file konfigurasi secara interaktif:
`accelerate config`
- Tampilkan prakiraan kapasitas memori GPU yang dibutuhkan untuk menjalankan model Hugging Face dengan tipe data yang berbeda:
`accelerate estimate-memory {{nama/model}}`
- Uji validitas sebuah file konfigurasi Accelerate:
`accelerate test --config_file {{jalan/menuju/config.yaml}}`
- Jalankan sebuah model PyTorch dengan Accelerate, menggunakan CPU saja:
`accelerate launch {{jalan/menuju/script.py}} {{--cpu}}`
- Jalankan model dengan Accelerate, menggunakan GPU dari 2 perangkat yang berbeda:
`accelerate launch {{jalan/menuju/script.py}} --multi_gpu --num_machines {{2}}`

View File

@ -1,37 +0,0 @@
# ack
> Sebuah alat pencari teks seperti `grep` yang dikhususkan bagi para pengembang perangkat lunak.
> Lihat juga: `rg`, yang dapat mencari dengan lebih cepat.
> Informasi lebih lanjut: <https://beyondgrep.com/documentation>.
- Cari file dalam direktori saat ini yang mengandung string atau kriteria dalam ekspresi reguler:
`ack "{{pola_pencarian}}"`
- Cari tanpa mementingkan perbedaan huruf besar-kecil dalam kriteria (case-insensitive):
`ack --ignore-case "{{pola_pencarian}}"`
- Cari untuk baris-baris dalam file yang memenuhi kriteria, namun hanya cetak teks yang memenuhinya saja (jangan cetak kata-kata lainnya meskipun dalam baris yang sama):
`ack -o "{{pola_pencarian}}"`
- Hanya cari file dengan tipe tertentu (seperti `ruby` untuk mencari file `.rb`,`.erb`, `.rake`, `Rakefile` dan sebagainya):
`ack --type={{ruby}} "{{pola_pencarian}}"`
- Jangan cari file dengan tipe tertentu:
`ack --type=no{{ruby}} "{{pola_pencarian}}"`
- Hitung total teks/string yang ditemukan:
`ack --count --no-filename "{{pola_pencarian}}"`
- Hanya cetak nama file dan total penemuan dalam file tersebut saja:
`ack --count --files-with-matches "{{pola_pencarian}}"`
- Tampilkan daftar kombinasi nilai yang dapat dipakai dalam atribut `--type`:
`ack --help-types`

View File

@ -1,24 +0,0 @@
# acme.sh --dns
> Gunakan verifikasi DNS-01 untuk menerbitkan sertifikat HTTPS.
> Informasi lebih lanjut: <https://github.com/acmesh-official/acme.sh/wiki>.
- Terbitkan sertifikat menggunakan metode verifikasi DNS via API (daftar jenis `api_dns` yang didukung tersedia dalam <https://github.com/acmesh-official/acme.sh/wiki/How-to-use-lexicon-DNS-API>):
`acme.sh --issue --dns {{api_dns}} --domain {{example.com}}`
- Terbitkan sertifikat wildcard (ditandai dengan tanda bintang) menggunakan verifikasi DNS via API:
`acme.sh --issue --dns {{api_dns}} --domain {{example.com}} --domain {{*.example.com}}`
- Terbitkan sertifikat menggunakan verifikasi DNS alias:
`acme.sh --issue --dns {{api_dns}} --domain {{example.com}} --challenge-alias {{alias-untuk-verifikasi-example.com}}`
- Terbitkan sertifikat dengan masa tunggu pemutakhiran DNS yang ditentukan (dalam detik), sehingga `acme.sh` tidak melakukan proses validasi DNS otomatis melalui server DNS Cloudflare/Google:
`acme.sh --issue --dns {{api_dns}} --domain {{example.com}} --dnssleep {{300}}`
- Terbitkan sertifikat menggunakan verifikasi DNS manual:
`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please`

View File

@ -1,33 +0,0 @@
# acme.sh
> Sebuah shell script yang mengimplementasikan ACME client protocol (pembuat sertifikat HTTPS), alternatif dari `certbot`.
> Lihat juga: `acme.sh dns`.
> Informasi lebih lanjut: <https://github.com/acmesh-official/acme.sh>.
- Terbitkan sertifikat baru dan pasang pada webroot secara langsung:
`acme.sh --issue --domain {{example.com}} --webroot {{/jalan/menuju/webroot}}`
- Terbitkan sertifikat untuk domain majemuk, menggunakan mode verifikasi mandiri (standalone) pada port 80:
`acme.sh --issue --standalone --domain {{example.com}} --domain {{www.example.com}}`
- Terbitkan sertifikat menggunakan mode verifikasi mandiri berbasis TLS pada port 443:
`acme.sh --issue --alpn --domain {{example.com}}`
- Terbitkan sertifikat dengan konfigurasi server Nginx untuk memasangnya:
`acme.sh --issue --nginx --domain {{example.com}}`
- Terbitkan sertifikat dengan konfigurasi server Apache untuk memasangnya:
`acme.sh --issue --apache --domain {{example.com}}`
- Terbitkan sertifikat wildcard (\*) menggunakan verifikasi DNS via API (daftar jenis `api_dns` yang didukung tersedia dalam <https://github.com/acmesh-official/acme.sh/wiki/How-to-use-lexicon-DNS-API>):
`acme.sh --issue --dns {{api_dns}} --domain {{*.example.com}}`
- Pasang sertifikat ke dalam direktori tertentu (dapat berguna untuk proses pemutakhiran otomatis):
`acme.sh --install-cert -d {{example.com}} --key-file {{/jalan/menuju/example.com.key}} --fullchain-file {{/jalan/menuju/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`

View File

@ -1,32 +0,0 @@
# act
> Jalankan GitHub Actions secara lokal melalui Docker.
> Informasi lebih lanjut: <https://github.com/nektos/act>.
- Tampilkan daftar actions (tugas dalam GitHub Actions) yang tersedia:
`act -l`
- Jalankan tugas dengan event default:
`act`
- Jalankan event pemicu tugas tertentu:
`act {{jenis_event}}`
- Jalankan tugas/[a]ction tertentu:
`act -a {{action_id}}`
- Tampilkan tugas-tugas yang akan dijalankan ta[n]pa mengeksekusikannya (dry-run):
`act -n`
- Tampilkan log tingkat [v]erbose:
`act -v`
- Jalankan [W]orkflow tertentu:
`act push -W {{jalam/menuju/workflow}}`

View File

@ -1,17 +0,0 @@
# acyclic
> Jadikan gambaran grafik berarah (dalam Graphviz) menjadi asiklik dengan memutarbalikkan beberapa garis tepi.
> Daftar filter Graphviz: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`.
> Informasi lebih lanjut: <https://graphviz.org/pdf/acyclic.1.pdf>.
- Ubah grafik berarah menjadi asiklik dengan membalikkan beberapa garis tepi:
`acyclic {{path/to/input.gv}} > {{path/to/output.gv}}`
- Cari tahu apakah grafik tersebut bersifat asiklik, memiliki siklus, atau tidak berarah, sehingga tidak menghasilkan output:
`acyclic -v -n {{path/to/input.gv}}`
- Tampilkan informasi bantuan untuk `acyclic`:
`acyclic -?`

View File

@ -1,32 +0,0 @@
# AdGuardHome
> Perangkat lunak untuk memblokir iklan dan upaya pelacakan dalam jaringan internet.
> Informasi lebih lanjut: <https://github.com/AdguardTeam/AdGuardHome>.
- Jalankan AdGuard Home:
`AdGuardHome`
- Jalankan AdGuard Home dengan konfigurasi tertentu:
`AdGuardHome --config {{jalan/menuju/AdGuardHome.yaml}}`
- Tentukan direktori penyimpanan data untuk AdGuard Home:
`AdGuardHome --work-dir {{jalan/menuju/direktori}}`
- Pasang atau bongkar AdGuard Home sebagai layanan/daemon sistem operasi:
`AdGuardHome --service {{install|uninstall}}`
- Jalankan AdGuard Home sebagai layanan/daemon:
`AdGuardHome --service start`
- Muat ulang konfigurasi layanan AdGuard Home:
`AdGuardHome --service reload`
- Matikan atau nyalakan ulang layanan AdGuard Home:
`AdGuardHome --service {{stop|restart}}`

View File

@ -1,20 +0,0 @@
# adscript
> Penyusun (compiler) untuk file Adscript.
> Informasi lebih lanjut: <https://github.com/Amplus2/Adscript>.
- Susun suatu file menjadi file objek:
`adscript --output {{jalan/menuju/file.o}} {{jalan/menuju/file_input.adscript}}`
- Susun dan gabungkan file menjadi sebuah file program mandiri:
`adscript --executable --output {{jalan/menuju/file}} {{jalan/menuju/file_input.adscript}}`
- Susun sebuah file menggunakan kode LLVM IR daripada kode mesin yang sesungguhnya:
`adscript --llvm-ir --output {{jalan/menuju/file.ll}} {{jalan/menuju/file_input.adscript}}`
- Susun menjadi file objek untuk arsitektur CPU atau sistem operasi yang berbeda dengan mesin saat ini (cross-compile):
`adscript --target-triple {{i386-linux-elf}} --output {{jalan/menuju/file.o}} {{jalan/menuju/file_input.adscript}}`

View File

@ -1,12 +0,0 @@
# afconvert
> Ubah format file antara AFF dan file baku/raw.
> Informasi lebih lanjut: <https://manned.org/afconvert.1>.
- Pakai nama ekstensi output (default: `aff`):
`afconvert -a {{ekstensi}} {{jalan/menuju/file_input}} {{jalan/menuju/file_output1 jalan/menuju/file_output2 ...}}`
- Gunakan tingkat kompresi file (default: `7`):
`afconvert -X{{0..7}} {{jalan/menuju/file_input}} {{jalan/menuju/file_output1 jalan/menuju/file_output2 ...}}`

View File

@ -1,32 +0,0 @@
# ag
> The Silver Searcher. Seperti `ack`, namun bertujuan untuk lebih cepat daripadanya.
> Informasi lebih lanjut: <https://github.com/ggreer/the_silver_searcher>.
- Cari file yang mengandung teks "foo", dan cetak baris teks yang cocok:
`ag {{foo}}`
- Cari file yang mengandung teks "foo" dalam direktori tertentu:
`ag {{foo}} {{jalan/menuju/direktori}}`
- Cari file yang mengandung teks "foo", namun hanya tampilkan daftar nama file saja:
`ag -l {{foo}}`
- Cari file yang mengandung teks "FOO" tanpa memerhatikan perbedaan huruf besar-kecil (case-[i]nsensitive), dan hanya cetak teks yang cocok (jangan cetak kata-kata lainnya meskipun dalam baris yang sama):
`ag -i -o {{FOO}}`
- Cari file yang memiliki nama "bar" dan mengandung teks "foo":
`ag {{foo}} -G {{bar}}`
- Cari file yang memiliki teks yang memenuhi kriteria ekspresi reguler:
`ag '{{^ba(r|z)$}}'`
- Cari file dengan nama yang memiliki teks "foo":
`ag -g {{foo}}`

View File

@ -1,16 +0,0 @@
# agate
> Sebuah server sederhana untuk protokol jaringan Gemini.
> Informasi lebih lanjut: <https://github.com/mbrubeck/agate>.
- Terbitkan kunci privat dan sertifikat TLS:
`agate --content {{jalan/menuju/direktori_konten}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}`
- Jalankan server Gemini:
`agate {{jalan/menuju/direktori_konten}}`
- Tampilkan informasi bantuan:
`agate -h`

View File

@ -1,13 +0,0 @@
# age-keygen
> Buat pasangan kunci untuk `age`.
> Lihat `age` untuk mengetahui cara membuat/membuka file terenkripsi.
> Informasi lebih lanjut: <https://manned.org/age-keygen>.
- Buat pasangan kunci, simpan ke dalam file tanpa enkripsi, dan cetak kunci publik menuju `stdout`:
`age-keygen --output {{jalan/menuju/file}}`
- Ubah sebuah kunci identitas menjadi penerima dan cetak kunci publik menuju `stdout`:
`age-keygen -y {{jalan/menuju/file}}`

View File

@ -1,25 +0,0 @@
# age
> Alat pengenkripsi file yang sederhana, modern, dan aman.
> Lihat `age-keygen` untuk mengetahui cara membuat pasangan kunci.
> Informasi lebih lanjut: <https://github.com/FiloSottile/age>.
- Buat sebuah file terenkripsi yang hanya dapat didekripsi menggunakan kata sandi:
`age --passphrase --output {{jalan/menuju/file_terenkripsi}} {{jalan/menuju/file_tidak_terenkripsi}}`
- Buat file terenkripsi dengan kunci publik (public key) secara literal (ulangi argumen `--recipient` untuk memberikan kunci publik tambahan):
`age --recipient {{kunci_publik}} --output {{jalan/menuju/file_terenkripsi}} {{jalan/menuju/file_tidak_terenkripsi}}`
- Buat file terenkripsi bagi para penerima menurut kunci-kunci publik mereka yang disimpan di dalam suatu file (satu kunci per baris):
`age --recipients-file {{path/to/file_daftar_penerima}} --output {{jalan/menuju/file_terenkripsi}} {{jalan/menuju/file_tidak_terenkripsi}}`
- Buka file terenkripsi dengan kata sandi:
`age --decrypt --output {{path/to/file_bebas_enkripsi}} {{jalan/menuju/file_terenkripsi}}`
- Buka file terenkripsi dengan kunci privat:
`age --decrypt --identity {{path/to/file_kunci_privat}} --output {{path/to/file_bebas_enkripsi}} {{jalan/menuju/file_terenkripsi}}`

View File

@ -1,17 +0,0 @@
# aircrack-ng
> Retas dan dapatkan kunci WEP dan WPA/WPA2 dari proses handshake dalam paket jaringan yang ditangkap.
> Bagian dari paket perangkat lunak jaringan Aircrack-ng.
> Informasi lebih lanjut: <https://www.aircrack-ng.org/doku.php?id=aircrack-ng>.
- Retas dan dapatkan kunci dari file tangkapan jaringan dan file daftar kata sandi ([w]ordlist):
`aircrack-ng -w {{jalan/menuju/wordlist.txt}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Retas dan dapatkan kunci dari file tangkapan jaringan, [w]ordlist, dan [e]ssid milik perangkat titik akses Wi-Fi:
`aircrack-ng -w {{jalan/menuju/wordlist.txt}} -e {{essid}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Retas dan dapatkan kunci dari file tangkapan jaringan, [w]ordlist, dan alamat MAC milik perangkat titik akses Wi-Fi:
`aircrack-ng -w {{jalan/menuju/wordlist.txt}} --bssid {{mac}} {{jalan/menuju/tangkapan_jaringan.cap}}`

View File

@ -1,25 +0,0 @@
# airdecap-ng
> Dekripsi file tangkapan jaringan terenkripsi dengan kunci sandi WEP, WPA, atau WPA2.
> Bagian dari paket perangkat lunak jaringan Aircrack-ng.
> Informasi lebih lanjut: <https://www.aircrack-ng.org/doku.php?id=airdecap-ng>.
- Buang informasi header jaringan wireless/nirkabel dari file tangkapan jaringan (bebas enkripsi WEP/WPA/WPA2), dan gunakan alamat MAC titik akses Wi-Fi untuk menyaringnya:
`airdecap-ng -b {{alamat_mac}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Buka enkripsi WEP dari file tangkapan jaringan menggunakan kunci WEP dalam format heksadesimal:
`airdecap-ng -w {{kunci_heksadesimal}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Buka enkripsi WPA/WPA2 dari file tangkapan jaringan menggunakan [e]ssid titik akses Wi-Fi dan kata sandi ([p]assword):
`airdecap-ng -e {{essid}} -p {{kata_sandi}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Buka enkripsi WPA/WPA2 dari file tangkapan jaringan menggunakan [e]ssid dan kata sandi ([p]assword), tanpa menghilangkan informasi header jaringan:
`airdecap-ng -l -e {{essid}} -p {{kata_sandi}} {{jalan/menuju/tangkapan_jaringan.cap}}`
- Buka enkripsi WPA/WPA2 dari file tangkapan jaringan menggunakan [e]ssid dan kata sandi ([p]assword), dan saring menurut alamat MAC titik akses Wi-Fi:
`airdecap-ng -b {{alamat_mac}} -e {{essid}} -p {{kata_sandi}} {{jalan/menuju/tangkapan_jaringan.cap}}`

View File

@ -1,9 +0,0 @@
# aireplay-ng
> Masukkan paket jaringan kepada jaringan nirkabel/wireless.
> Bagian dari paket perangkat lunak jaringan Aircrack-ng.
> Informasi lebih lanjut: <https://www.aircrack-ng.org/doku.php?id=aireplay-ng>.
- Kirim sejumlah paket terpisah berdasarkan alamat MAC titik akses, alamat MAC klien, dan antarmuka jaringan (interface):
`sudo aireplay-ng --deauth {{jumlah_paket}} --bssid {{alamat_mac_titik_akses}} --dmac {{alamat_mac_klien}} {{interface}}`

View File

@ -1,21 +0,0 @@
# airmon-ng
> Nyalakan mode pengawasan pada perangkat jaringan nirkabel/wireless
> Bagian dari paket perangkat lunak jaringan Aircrack-ng.
> Informasi lebih lanjut: <https://www.aircrack-ng.org/doku.php?id=airmon-ng>.
- Tampilkan daftar perangkat nirkabel beserta statusnya:
`sudo airmon-ng`
- Mulai awasi jaringan untuk perangkat tertentu:
`sudo airmon-ng start {{wlan0}}`
- Hentikan proses-proses mengganggu yang memanfaatkan perangkat nirkabel:
`sudo airmon-ng check kill`
- Matikan mode pengawasan untuk interface jaringan tertentu:
`sudo airmon-ng stop {{wlan0mon}}`

View File

@ -1,13 +0,0 @@
# airodump-ng
> Tangkap para paket dan tampilkan informasi mengenai jaringan nirkabel/wireless.
> Bagian dari paket perangkat lunak jaringan Aircrack-ng.
> Informasi lebih lanjut: <https://www.aircrack-ng.org/doku.php?id=airodump-ng>.
- Tangkap para paket dan tampilkan informasi jaringan nirkabel tertentu:
`sudo airodump-ng {{interface}}`
- Tangkap para paket dan tampilkan informasi jaringan nirkabel berdasarkan alamat MAC dan kanal jaringan, kemudian simpan hasil ke dalam suatu file:
`sudo airodump-ng --channel {{channel}} --write {{jalan/menuju/file}} --bssid {{alamat_mac}} {{interface}}`

View File

@ -1,24 +0,0 @@
# airpaste
> Bagikan pesan dan file dalam jaringan yang sama menggunakan mDNS.
> Informasi lebih lanjut: <https://github.com/mafintosh/airpaste>.
- Tunggu untuk pesan baru dan tampilkan pesan jika diterimanya:
`airpaste`
- Kirim teks menuju jaringan:
`echo {{teks}} | airpaste`
- Kirim sebuah file:
`airpaste < {{jalan/menuju/file}}`
- Terima pesan dalam bentuk file:
`airpaste > {{jalan/menuju/file}}`
- Buat atau masuk kepada suatu kanal penerimaan pesan:
`airpaste {{nama_kanal}}`

View File

@ -1,28 +0,0 @@
# airshare
> Pindahkan data antara dua perangkat dalam jaringan lokal yang sama.
> Informasi lebih lanjut: <https://airshare.rtfd.io/en/latest/cli.html>.
- Kirim kumpulan file atau direktori:
`airshare {{kode_berbagi}} {{jalan/menuju/file_atau_direktori1 jalan/menuju/file_atau_direktori2 ...}}`
- Terima file:
`airshare {{kode_berbagi}}`
- Nyalakan `airshare` sebagai server penerima (sehingga memungkingkan Anda untuk mengunggah melalui situs web internal):
`airshare --upload {{kode_berbagi}}`
- Unggah kumpulan file atau direktori menuju server penerima:
`airshare --upload {{kode_berbagi}} {{jalan/menuju/file_atau_direktori1 jalan/menuju/file_atau_direktori2 ...}}`
- Kirim file dengan alamat-alamat yang disalin pada papan klip (clipboard):
`airshare --file-path {{kode_berbagi}}`
- Terima dan salin file menuju papan klip:
`airshare --clip-receive {{kode_berbagi}}`

View File

@ -1,20 +0,0 @@
# ajson
> Jalankan ekspresi pencarian JSONPath terhadap objek-objek JSON.
> Informasi lebih lanjut: <https://github.com/spyzhov/ajson>.
- Baca file JSON dan jalankan ekpresi JSONPath untuk mencari data di dalamnya:
`ajson '{{$..json[?(@.path)]}}' {{jalan/menuju/file.json}}`
- Baca JSON dari `stdin` dan jalankan ekpresi JSONPath untuk mencari data di dalamnya:
`cat {{jalan/menuju/file.json}} | ajson '{{$..json[?(@.path)]}}'`
- Baca JSON dari sebuah URL dan jalankan ekpresi JSONPath untuk mencari data di dalamnya:
`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'`
- Baca file JSON sederhana dan hitung nilai dari ekspresi JSONPath:
`echo '{{3}}' | ajson '{{2 * pi * $}}'`

View File

@ -1,21 +0,0 @@
# alex
> Alat untuk menangkal karya tulis bahasa Inggris yang ditulis secara tidak sensitif dan berpengertian.
> Alat ini dapat menemukan kata dan frasa bahasa Inggris yang berkaitan kuat dengan gender, polarisasi, ras, agama, dan frasa-frasa sensitif lainnya.
> Informasi lebih lanjut: <https://github.com/get-alex/alex>.
- Analisa teks dari `stdin`:
`echo {{His network looks good}} | alex --stdin`
- Analisa teks dari seluruh file dalam direktori saat ini:
`alex`
- Analisa teks dari suatu file:
`alex {{jalan/menuju/file.md}}`
- Analisa seluruh file Markdown (`.md`) kecuali `contoh.md`:
`alex *.md !{{contoh.md}}`

View File

@ -1,28 +1,24 @@
# gcc
> Praproses dan susun kode sumber C dan C++, lalu rakit dan gabungkan bersama-sama.
> Praproses dan kompilasi kode sumber C dan C++, lalu rakit dan gabungkan bersama-sama.
> Informasi lebih lanjut: <https://gcc.gnu.org>.
- Ubah beberapa sumber kode menjadi program:
- Mengubah beberapa sumber kode menjadi program:
`gcc {{jalan/menuju/sumber1.c jalan/menuju/sumber2.c ...}} -o {{jalan/menuju/program}}`
`gcc {{sumber1.c}} {{sumber2.c}} --output {{program}}`
- Izinkan peringatan dan simbol debug dalam [o]utput:
- Mengizinkan peringatan dan simbol debug di output:
`gcc {{jalan/menuju/sumber.c}} -Wall -g -Og -o {{jalan/menuju/program}}`
`gcc {{sumber.c}} -Wall -Og --output {{program}}`
- Sertakan pustaka (library) dari direktori yang berbeda:
- Menyertakan pustaka dari direktori yang berbeda:
`gcc {{sumber.c}} -o {{jalan/menuju/program}} -I{{jalan/menuju/header}} -L{{jalan/menuju/pustaka}} -l{{nama_pustaka}}`
`gcc {{sumber.c}} --output {{program}} -I{{jalur_header}} -L{{jalur_pustaka}} -l{{nama_pustaka}}`
- Susun kode sumber ke dalam bahasa tingkat rendah (assembly):
- Mengkompilasi kode sumber ke dalam bahasa tingkat rendah (assembly):
`gcc -S {{jalan/menuju/sumber.c}}`
`gcc -S {{sumber.c}}`
- Susun kode sumber tanpa digabungkan:
- Mengkompilasi kode sumber tanpa digabungkan:
`gcc -c {{jalan/menuju/sumber.c}}`
- [O]ptimalkan progam yang disusun agar dapat dijalankan lebih cepat:
`gcc {{path/to/source.c}} -O{{1|2|3|fast}} -o {{path/to/output_executable}}`
`gcc -c {{sumber.c}}`

View File

@ -5,19 +5,11 @@
- Komit file bertahap ke repositori dengan sebuah pesan:
`git commit --message "{{pesan}}"`
`git commit -m "{{pesan}}"`
- Komit file bertahap dengan pesan yang disimpan dalam suatu file:
- Otomatis merubah semua file yang dimodifikasi menjadi ke status stage dan menambahkan sebuah pesan:
`git commit --file {{jalan/menuju/file_pesan_komit}}`
- Ubah secara otomatis semua file yang dimodifikasi menjadi ke status stage dan menambahkan sebuah pesan:
`git commit --all --message "{{pesan}}"`
- Komit file bertahap kemudian tandatangani komit tersebut menggunakan kunci GPG (atau kunci yang didefinisikan dalam file konfigurasi jika tidak didefinisikan):
`git commit --gpg-sign {{id_kunci_gpg}} --message "{{pesan}}"`
`git commit -a -m "{{pesan}}"`
- Ganti komit terakhir dengan perubahan yang ada di status stage saat ini:
@ -25,8 +17,4 @@
- Komit file tertentu (yang sudah di status stage):
`git commit {{alamat/ke/file1}} {{alamat/ke/file2}}`
- Buat komit kosong, tanpa file bertahap:
`git commit --message "{{pesan}}" --allow-empty`
`git commit {{alamat/ke/file/saya1}} {{alamat/ke/file/saya2}}`

View File

@ -3,22 +3,22 @@
> Sejarah command-line.
> Informasi lebih lanjut: <https://www.gnu.org/software/bash/manual/html_node/Bash-History-Builtins.html>.
- Tampilkan sejarah perintah-perintah dengan angka baris:
- Menampilkan sejarah perintah-perintah dengan angka baris:
`history`
- Tampilkan 20 perintah-perintah terakhir (di `zsh` perintah ini menampilkan semua perintah-perintah sejak dari baris ke-20):
- Menampilkan 20 perintah-perintah terakhir (di `zsh` perintah ini menampilkan semua perintah-perintah sejak dari baris ke-20):
`history {{20}}`
- Hapus sejarah perintah-perintah (hanya untuk sesi shell `bash` saat ini):
- Menghapus sejarah perintah-perintah (hanya untuk sesi shell `bash` saat ini):
`history -c`
- Tulis ulang file sejarah dengan sejarah sesi shell `bash` saat ini (seringkali dikombinasikan dengan `history -c` untuk menghapus sejarah):
- Menulis ulang file sejarah dengan sejarah sesi shell `bash` saat ini (seringkali dikombinasikan dengan `history -c` untuk menghapus sejarah):
`history -w`
- Hapus entri sejarah pada offset tertentu:
- Menghapus entri sejarah pada offset tertentu:
`history -d {{offset}}`

View File

@ -1,6 +1,6 @@
# laravel-zero
> Pasang framework Laravel Zero dari command-line.
> Pemasang Laravel Zero framework berbasis command-line.
> Informasi lebih lanjut: <https://laravel-zero.com>.
- Buat aplikasi Laravel Zero baru:
@ -11,6 +11,6 @@
`laravel-zero self-update`
- Lihat daftar perintah yang tersedia:
- Lis perintah yang tersedia:
`laravel-zero list`

View File

@ -1,6 +1,6 @@
# laravel
> Pasang framework Laravel framework dari command-line.
> Pemasang Laravel framework berbasis command-line.
> Informasi lebih lanjut: <https://laravel.com>.
- Buat aplikasi Laravel baru:
@ -27,6 +27,6 @@
`laravel new {{nama}} --jet --teams`
- Tampilkan daftar perintah yang tersedia:
- Lis perintah yang tersedia:
`laravel list`

View File

@ -1,13 +0,0 @@
# powershell
> Perintah ini dapat disalahartikan mengarah kepada versi PowerShell yang dapat dijalankan lintas sistem operasi (sebelumnya PowerShell Core), yang menggunakan perintah `pwsh` daripada `powershell`.
> Perintah `powershell` yang sesungguhnya masih tersedia untuk memakai PowerShell versi 5.1 dan sebelumnya (dikenal sebagai "Windows PowerShell").
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>.
- Lihat dokumentasi untuk perintah yang menyalakan PowerShell versi lintas sistem operasi (versi 6 ke atas):
`tldr pwsh`
- Lihat dokumentasi untuk perintah yang menyalakan PowerShell versi bawaan Windows (versi 5.1 ke bawah):
`tldr powershell -p windows`

View File

@ -1,37 +0,0 @@
# pwsh
> Sebuah syel/shell dan bahasa pemrograman berbasis naskah/script yang dirancang untuk administrasi sistem komputer.
> Perintah ini merujuk kepada PowerShell versi 6 ke atas (juga dikenal sebagai PowerShell Core dan PowerShell lintas sistem operasi). Gunakan perintah `powershell` daripada `pwsh` untuk menggunakan PowerShell versi bawaan Windows (5.1 ke bawah).
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>.
- Jalankan sesi PowerShell interaktif baru:
`pwsh`
- Jalankan sesi interaktif tanpa memuat profil konfigurasi startup:
`pwsh -NoProfile`
- Jalankan perintah secara spesifik:
`pwsh -Command "{{echo 'powershell telah dieksekusi'}}"`
- Jalankan suatu naskah perintah/script PowerShell:
`pwsh -File {{jalan/menuju/naskah.ps1}}`
- Jalankan suatu sesi dengan versi PowerShell tertentu:
`pwsh -Version {{versi}}`
- Cegah sesi PowerShell dari keluar secara otomatis setelah menjalankan perintah startup:
`pwsh -NoExit`
- Tentukan format data yang akan dimasukkan ke dalam PowerShell:
`pwsh -InputFormat {{Text|XML}}`
- Tentukan format data yang ingin dikeluarkan dari perintah-perintah PowerShell:
`pwsh -OutputFormat {{Text|XML}}`

View File

@ -3,27 +3,27 @@
> Beragam subperintah yang berkaitan dengan database untuk Rauby on Rails.
> Informasi lebih lanjut: <https://guides.rubyonrails.org/command_line.html>.
- Buat pangkalan data (database) baru, memuat skema dan menginisiasinya dengan data awal:
- Membuat database, memuat skema dan menginisiasinya dengan data awal:
`rails db:setup`
- Akses konsol database:
- Mengakses konsol database:
`rails db`
- Buat database yang didefinisikan di environment saat ini:
- Membuat database yang didefinisikan di environment saat ini:
`rails db:create`
- Hapus database yang didefinisikan di environment saat ini:
- Menghapus database yang didefinisikan di environment saat ini:
`rails db:drop`
- Jalankan migrasi yang belum:
- Menjalankan migrasi yang belum:
`rails db:migrate`
- Tampilkan status dari masing-masing file migrasi:
- Menampilkan status dari masing-masing file migrasi:
`rails db:migrate:status`
@ -31,6 +31,6 @@
`rails db:rollback`
- Isi database dengan data yang didefinisikan di `db/seeds.rb`:
- Mengisi database dengan data yang didefinisikan di `db/seeds.rb`:
`rails db:seed`

View File

@ -1,17 +1,17 @@
# rubocop
> Analisa file Ruby.
> Menganalisa file Ruby.
> Informasi lebih lanjut: <https://docs.rubocop.org/rubocop/usage/basic_usage.html>.
- Periksa semua file dalam direktori saat ini (termasuk direktori-direktori di dalamnya):
- Memeriksa semua file dalam direktori saat ini (termasuk direktori-direktori di dalamnya):
`rubocop`
- Periksa satu atau lebih file atau direktori secara khusus:
- Memeriksa satu atau lebih file atau direktori secara khusus:
`rubocop {{jalan/menuju/file}} {{jalan/menuju/direktori}}`
- Tulis output ke file:
- Menulis output ke file:
`rubocop --out {{jalan/menuju/file}}`

View File

@ -1,9 +1,9 @@
# halt
> Hentikan seluruh proses dan jalannya CPU dalam sistem komputer.
> Hentikan sistem.
> Informasi lebih lanjut: <https://manned.org/halt.8>.
- Hentikan sistem komputer:
- Hentikan sistem:
`halt`
@ -11,13 +11,13 @@
`halt --poweroff`
- Nyalakan ulang sistem (sama seperti `reboot`):
- Reboot sistem (sama seperti `reboot`):
`halt --reboot`
- Hentikan sistem secara segera tanpa menghubungi manajer sistem:
- Berhenti segera tanpa menghubungi manajer sistem:
`halt --force`
`halt --force --force`
- Tulis entri wtmp shutdown tanpa menghentikan sistem:

View File

@ -1,9 +1,9 @@
# reboot
> Nyalakan ulang sistem komputer.
> Reboot sistem.
> Informasi lebih lanjut: <https://manned.org/reboot.8>.
- Nyalakan ulang sistem komputer:
- Reboot sistem:
`reboot`
@ -15,10 +15,10 @@
`reboot --halt`
- Nyalakan ulang segera tanpa menghubungi manajer sistem:
- Reboot segera tanpa menghubungi manajer sistem:
`reboot --force`
`reboot --force --force`
- Tulis entri wtmp shutdown tanpa menyalakan ulang sistem:
- Tulis entri wtmp shutdown tanpa me-reboot sistem:
`reboot --wtmp-only`

View File

@ -1,24 +0,0 @@
# shutdown
> Matikan dan nyalakan ulang sistem komputer.
> Informasi lebih lanjut: <https://manned.org/shutdown.8>.
- Matikan ([h]alt) sistem secara segera:
`shutdown -h now`
- Nyalakan ulang ([r]eboot) segera:
`shutdown -r now`
- Nyalakan ulang dalam 5 menit:
`shutdown -r +{{5}} &`
- Matikan sistem pada pukul 1 siang (menggunakan format 24 jam):
`shutdown -h 13:00`
- Batalkan proses mati atau penyalaan ulang yang telah dijadwalkan:
`shutdown -c`

View File

@ -1,12 +1,12 @@
# pbpaste
> Kirim isi papan klip (clipboard) ke output standar.
> Mengirim isi papan klip (clipboard) ke output standar.
> Informasi lebih lanjut: <https://ss64.com/osx/pbpaste.html>.
- Tulis konten papan klip ke dalam sebuah file:
- Menulis konten papan klip ke dalam sebuah file:
`pbpaste > {{file}}`
- Gunakan konten papan klip sebagai input bagi sebuah perintah:
- Menggunakan konten papan klip sebagai input bagi sebuah perintah:
`pbpaste | grep foo`

View File

@ -1,20 +1,20 @@
# chkdsk
> Periksa kesalahan dalam sistem file dan metadata volume penyimpanan.
> Memeriksa dan mencari kesalahan dalam sebuah sistem file dan metadata volume penyimpanan.
> Informasi lebih lanjut: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.
- Periksa sebuah ruang penyimpanan berdasarkan huruf drive (diakhiri dengan titik dua), lokasi pemasangan, atau nama ruang:
- Memeriksa sebuah ruang penyimpanan berdasarkan huruf drive (diakhiri dengan titik dua), lokasi pemasangan, atau nama ruang:
`chkdsk {{ruang_penyimpanan}}`
- Perbaiki kesalahan pada ruang penyimpanan yang ditentukan:
- Memperbaiki kesalahan pada ruang penyimpanan yang ditentukan:
`chkdsk {{ruang_penyimpanan}} /f`
- Lepaskan ruang penyimpanan tertentu untuk pemeriksaan:
- Melepas ruang penyimpanan tertentu untuk pemeriksaan:
`chkdsk {{ruang_penyimpanan}} /x`
- Ubah ukuran file log dalam sebuah ruang penyimpanan dengan sistem file NTFS:
- Mengubah ukuran file log dalam sebuah ruang penyimpanan dengan sistem file NTFS:
`chkdsk /l{{ukuran}}`

View File

@ -1,37 +0,0 @@
# powershell
> Sebuah syel/shell dan bahasa pemrograman berbasis naskah/script yang dirancang untuk administrasi sistem komputer.
> Perintah ini merujuk kepada PowerShell versi 5.1 ke bawah (juga dikenal sebagai PowerShell bawaan Windows). Gunakan perintah `pwsh` daripada `powershell` untuk menggunakan PowerShell versi terkini (6.0 ke atas) yang tersedia lintas sistem operasi.
> Informasi lebih lanjut: <https://learn.microsoft.com/windows-server/administration/windows-commands/powershell>.
- Jalankan sesi PowerShell interaktif baru:
`powershell`
- Jalankan sesi interaktif tanpa memuat profil konfigurasi startup:
`powershell -NoProfile`
- Jalankan perintah secara spesifik:
`powershell -Command "{{echo 'powershell telah dieksekusi'}}"`
- Jalankan suatu naskah perintah/script PowerShell:
`powershell -File {{jalan/menuju/naskah.ps1}}`
- Jalankan suatu sesi dengan versi PowerShell tertentu:
`powershell -Version {{versi}}`
- Cegah sesi PowerShell dari keluar secara otomatis setelah menjalankan perintah startup:
`powershell -NoExit`
- Tentukan format data yang akan dimasukkan ke dalam PowerShell:
`powershell -InputFormat {{Text|XML}}`
- Tentukan format data yang ingin dikeluarkan dari perintah-perintah PowerShell:
`powershell -OutputFormat {{Text|XML}}`

View File

@ -1,4 +1,4 @@
# sl
# iwr
> Perintah ini merupakan alias dari `Set-Location` di PowerShell.
> Informasi lebih lanjut: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.

View File

@ -25,7 +25,7 @@
- Archivia utilizzando uno specifico tipo di archivio:
`7z a -t {{7z|bzip2|gzip|lzip|tar|zip}} {{archivio}} {{percorso/del/file_o_directory}}`
`7z a -t {{7z|bzip2|gzip|lzip|tar|zip}} {{archivio.7z}} {{percorso/del/file_o_directory}}`
- Elenca i contenuti in un archivio:

View File

@ -6,7 +6,7 @@
- Verifica se una determinata variabile è uguale/diversa dalla stringa specificata:
`[ "${{variabile}}" {{=|!=}} "{{stringa}}" ]`
`[ "${{variabile}}" {{==|!=}} "{{stringa}}" ]`
- Verifica se una variabile data è [eq]uguale/[n]on [e]uguale/[g]maggiore [t]di/[l]minore [t]di/[g]maggiore di o [e]uguale/[l]minore di o [e]uguale al numero specificato:

View File

@ -13,20 +13,20 @@
- Mostra l'indirizzo IP di un container:
`docker inspect --format '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{nome_container}}`
`docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' {{nome_container}}`
- Mostra il percorso dei file di log di un container:
`docker inspect --format='\{\{.LogPath\}\}' {{nome_container}}`
`docker inspect --format='{{.LogPath}}' {{nome_container}}`
- Mostra il nome dell'immagine di un container:
`docker inspect --format='\{\{.Config.Image\}\}' {{nome_container}}`
`docker inspect --format='{{.Config.Image}}' {{nome_container}}`
- Mostra le informazioni di configurazione in formato JSON:
`docker inspect --format='\{\{json .Config\}\}' {{nome_container}}`
`docker inspect --format='{{json .Config}}' {{nome_container}}`
- Mostra il binding di tutte le porte:
`docker inspect --format='\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{nome_container}}`
`docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}} {{$p}} -> {{(index $conf 0).HostPort}} {{end}}' {{nome_container}}`

Some files were not shown because too many files have changed in this diff Show More