Compare commits

..

1 Commits

Author SHA1 Message Date
Darío Hereñú b36f7c0517
Update abroot: fix typo 2023-12-07 20:42:13 -03:00
162 changed files with 238 additions and 1880 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.
- [tar](https://github.com/tldr-pages/tldr/blob/main/pages/common/tar.md) - page with placeholders
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

@ -263,7 +263,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

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

@ -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

@ -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

@ -28,6 +28,6 @@
`abroot --help`
- Muestra la version:
- Muestra la versión:
`abroot --version`

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}}`

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 @@
- 与えられた変数が与えられた文字列と等しいかどうかをテスト:
`[ "{{$変数名}}" = "{{/bin/zsh}}" ]`
`[ "{{$変数名}}" == "{{/bin/zsh}}" ]`
- 与えられた変数が空であるかどうかをテスト:

View File

@ -6,7 +6,7 @@
- 与えられた変数が与えられた文字列と等しいかどうかをテスト:
`test "{{$変数名}}" = "{{/bin/zsh}}"`
`test "{{$変数名}}" == "{{/bin/zsh}}"`
- 与えられた変数が空であるかどうかをテスト:

View File

@ -25,7 +25,7 @@
- 특정 압축 타입으로 추출:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archived}} {{경로/파일명_또는_디렉토리명}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archived.7z}} {{경로/파일명_또는_디렉토리명}}`
- 압축 파일의 내용 리스트:

View File

@ -6,7 +6,7 @@
- 주어진 변수가 문자열과 같은지/다른지 비교:
`[ "${{변수}}" {{=|!=}} "{{문자열}}" ]`
`[ "${{변수}}" {{==|!=}} "{{문자열}}" ]`
- 주어진 변수가 주어진 숫자와 같은지[eq]/다른지[ne]/보다 큰지[gt]/보다 작은지[lt]/크거나 같은지[ge]/작거나 같은지[le] 비교:

View File

@ -1,20 +0,0 @@
# adscript
> Adscript 파일용 컴파일러.
> 더 많은 정보: <https://github.com/Amplus2/Adscript>.
- 파일을 객체 파일로 컴파일:
`adscript --output {{경로/대상/파일.o}} {{경로/대상/입력_파일.adscript}}`
- 파일을 컴파일하고 독립 실행형 실행 파일에 연결:
`adscript --executable --output {{경로/대상/파일}} {{경로/대상/입력_파일.adscript}}`
- 기본 기계어 코드 대신 LLVM IR로 파일 컴파일:
`adscript --llvm-ir --output {{경로/대상/파일.ll}} {{경로/대상/입력_파일.adscript}}`
- 파일을 외부 CPU 아키텍처 또는 운영 체제용 객체 파일로 크로스 컴파일:
`adscript --target-triple {{i386-linux-elf}} --output {{경로/대상/파일.o}} {{경로/대상/입력_파일.adscript}}`

View File

@ -1,20 +0,0 @@
# ajson
> JSON 객체에서 JSONPath를 실행합니다.
> 더 많은 정보: <https://github.com/spyzhov/ajson>.
- 파일에서 JSON을 읽고 지정된 JSONPath 표현식을 실행:
`ajson '{{$..json[?(@.path)]}}' {{경로/대상/파일.json}}`
- `stdin`에서 JSON을 읽고 지정된 JSONPath 표현식을 실행:
`cat {{경로/대상/파일.json}} | ajson '{{$..json[?(@.path)]}}'`
- URL에서 JSON을 읽고 지정된 JSONPath 표현식을 평가:
`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'`
- 간단한 JSON을 읽고 값을 계산:
`echo '{{3}}' | ajson '{{2 * pi * $}}'`

View File

@ -1,16 +0,0 @@
# androguard
> 파이썬으로 작성된 안드로이드 애플리케이션 용 리버스 엔지니어링 도구입니다.
> 더 많은 정보: <https://github.com/androguard/androguard>.
- Android 앱 매니페스트 표시:
`androguard axml {{경로/대상/앱.apk}}`
- 앱 메타데이터(버전 및 앱 아이디) 표시:
`androguard apkid {{경로/대상/앱.apk}}`
- 앱에서 자바 코드를 디컴파일:
`androguard decompile {{경로/대상/앱.apk}} --output {{경로/대상/디렉터리}}`

View File

@ -1,29 +0,0 @@
# atuin
> 검색 가능한 데이터베이스에 쉘 기록을 저장하세요.
> 선택적으로 컴퓨터 간에 암호화된 기록을 동기화하세요.
> 더 많은 정보: <https://atuin.sh/docs/commands>.
- 쉘에 atuin 설치:
`eval "$(atuin init {{bash|zsh|fish}})"`
- 쉘 기본 기록 파일에서 기록 가져오기:
`atuin import auto`
- 특정 명령에 대한 쉘 기록 검색:
`atuin search {{명령어}}`
- 기본 동기화 서버에 계정 등록:
`atuin register -u {{사용자명}} -e {{이메일}} -p {{비밀번호}}`
- 기본 동기화 서버에 로그인:
`atuin login -u {{사용자명}} -p {{비밀번호}}`
- 동기화 서버와의 동기화 기록:
`atuin sync`

View File

@ -1,4 +1,4 @@
# bugreportz
# Bugreport
> जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्।
> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ।

View File

@ -25,7 +25,7 @@
- [a]rchiveer met een specifiek archieftype:
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archief}} {{pad/naar/bestand_of_map}}`
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archief.7z}} {{pad/naar/bestand_of_map}}`
- Geef een [l]ijst met de inhoud van het archiefbestand:

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